From 78c651e3a97dcec0654c88f13ac44989751b3616 Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Tue, 6 May 2025 21:32:33 +0200 Subject: [PATCH] Changing main controller README --- main controller code/Readme.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/main controller code/Readme.md b/main controller code/Readme.md index 11abdd7..9971772 100644 --- a/main controller code/Readme.md +++ b/main controller code/Readme.md @@ -12,7 +12,7 @@ The robot’s I2C communication works as follows: * Send the target register address (to read from or write to). * Read or write the register data. Multiple registers can be read/written sequentially, with the address auto-incrementing after each operation. -This code is designed to be the master in the i2c communication; +This code is designed to be the master in the i2c communication. |Adress |R/W|Description |Encoding | |-------|:-:|-------------------------------|:-----------------:| @@ -51,4 +51,13 @@ To control a servo motor you need to write data to its adress of the form : >uint8_t close; >``` -Value is 0 or 1 for the open or the close pos. \ No newline at end of file +Value is 0 or 1 for the open or the close pos. + + +Pinout description +----------------------------------------------- + +|Pin |Description |GPIO Type | +|----|----------------------------------|-----------| +| 4 | I2C Bus SDA | I2C | +| 5 | I2C Bus SCL | I2C |