diff --git a/docs/images/esp32c3 pinout.webp b/docs/images/esp32c3 pinout.webp new file mode 100644 index 0000000..d68d1d7 Binary files /dev/null and b/docs/images/esp32c3 pinout.webp differ diff --git a/docs/images/esp32c3_pinout.png b/docs/images/xiao_esp32c3_pinout.png similarity index 100% rename from docs/images/esp32c3_pinout.png rename to docs/images/xiao_esp32c3_pinout.png diff --git a/docs/readme.md b/docs/readme.md index 1fe95e8..991acef 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -14,13 +14,33 @@ ![ESP32S3 Pinout](./images/esp32s3_pinout.png "Text to show on mouseover") ``` - // Red Joystic - DIV_ADD = 0x10 - SDA_PIN = 5 - SCL_PIN = 4 + // Red Joystic Public - Slave Address + #define DIV_ADD 0x10 + + // Blue Joystic Public - Slave Address + #define DIV_ADD 0x20 + + // PUBLIC -> I2C PINS + #define SDA_PIN 5 + #define SCL_PIN 4 + + // LOCAL -> I2C PINS + #define SDA_PIN 5 + #define SCL_PIN 4 + + // JOYSTIC + #define X 1 + #define Y 2 + #define B 3 + + // FAST LED + #define STRIP_PIN 8 + #define STRIP_LEDS 16 + + // DOTMATRIC + #define DMX 8 + #define DMY 8 + #define DIN 10 + #define CIN 9 - // Blue Joystic - DIV_ADD = 0x20 - SDA_PIN = 5 - SCL_PIN = 4 ``` \ No newline at end of file