mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-02 17:48:47 +02:00
Temperature logger is no more.
This commit is contained in:
parent
95099e29a6
commit
062129546a
src
@ -249,7 +249,7 @@
|
||||
- [Other projects](bare-metal/microcontrollers/other-projects.md)
|
||||
- [cargo-embed, probe-rs]()
|
||||
- [Exercises](exercises/bare-metal/morning.md)
|
||||
- [Temperature logger](exercises/bare-metal/temperature-logger.md)
|
||||
- [Compass](exercises/bare-metal/compass.md)
|
||||
|
||||
# Day 5A: Afternoon
|
||||
|
||||
|
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}}
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user