You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-28 11:31:32 +02:00
Temperature logger is no more.
This commit is contained in:
7
src/exercises/bare-metal/compass.md
Normal file
7
src/exercises/bare-metal/compass.md
Normal file
@ -0,0 +1,7 @@
|
||||
# Compass
|
||||
|
||||
We will read the temperature from an I2C compass, and log the readings to a serial port.
|
||||
|
||||
```rust,should_panic
|
||||
{{#include compass/src/main.rs}}
|
||||
```
|
@ -1,6 +1,6 @@
|
||||
# Exercises
|
||||
|
||||
We will read the temperature from an I2C temperature sensor, and log the readings to a serial port.
|
||||
We will read the direction from an I2C compass, and log the readings to a serial port.
|
||||
|
||||
<details>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Day 5A Morning Exercise
|
||||
|
||||
## Temperature logger
|
||||
## Compass
|
||||
|
||||
([back to exercise](temperature-logger.md))
|
||||
([back to exercise](compass.md))
|
||||
|
||||
```rust
|
||||
{{#include temperature-logger/src/main.rs}}
|
||||
{{#include compass/src/main.rs}}
|
||||
```
|
||||
|
@ -1,7 +0,0 @@
|
||||
# Temperature logger
|
||||
|
||||
We will read the temperature from an I2C temperature sensor, and log the readings to a serial port.
|
||||
|
||||
```rust,should_panic
|
||||
{{#include temperature-logger/src/main.rs}}
|
||||
```
|
Reference in New Issue
Block a user