test insert imgs

main
kirbylife 2023-04-28 14:56:54 -06:00
parent b99737a7a7
commit d9d5e832d2
3 changed files with 3 additions and 5 deletions

View File

@ -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)

BIN
imgs/diagram.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -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);