test insert imgs
parent
b99737a7a7
commit
d9d5e832d2
|
@ -35,6 +35,4 @@ $ ./upload.sh
|
|||
IF this step fails, edit the `upload.sh` script and change the `/dev/ttyUSB0` to the Serial port assiged to your Arduino (You can check this path with the Arduino IDE)
|
||||
|
||||
## Diagram
|
||||
```Rust
|
||||
todo!();
|
||||
```
|
||||
![Diagrama de RustyToken](imgs/diagram.png)
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
|
@ -41,8 +41,8 @@ fn main() -> ! {
|
|||
|
||||
let i2c_clock = arduino_hal::I2c::new(
|
||||
dp.TWI,
|
||||
pins.a4.into_pull_up_input(),
|
||||
pins.a5.into_pull_up_input(),
|
||||
pins.a4.into_pull_up_input(), // SDA
|
||||
pins.a5.into_pull_up_input(), // SCL
|
||||
50000,
|
||||
);
|
||||
let mut rtc = ds323x::Ds323x::new_ds3231(i2c_clock);
|
||||
|
|
Loading…
Reference in New Issue