mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-19 06:42:38 +02:00
8 lines
159 B
Markdown
8 lines
159 B
Markdown
|
# 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}}
|
||
|
```
|