added docs readme.md file for the project connections

This commit is contained in:
ghassan committed 2025-06-10 23:00:33 +03:00
1 parent af147baa1e
commit 7e476e1e67
5 files changed
+30

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

+26
View File
@@ -0,0 +1,26 @@
# Joystick Connections To Master
## ESP32C3 (Master) Connection
![ESP32S3 Pinout](./images/esp32c3_pinout.png "Text to show on mouseover")
```
SDA_PIN = 6
SCL_PIN = 7
```
## ESP32S3 (Slaves) Connection
![ESP32S3 Pinout](./images/esp32s3_pinout.png "Text to show on mouseover")
```
// Red Joystic
DIV_ADD = 0x10
SDA_PIN = 5
SCL_PIN = 4
// Blue Joystic
DIV_ADD = 0x20
SDA_PIN = 5
SCL_PIN = 4
```
+2
View File
@@ -1,3 +1,5 @@
// MAster
#include "dice.h" // Dice Function
#include "header.h" // Player Data Types
#include <Adafruit_NeoPixel.h>
+2
View File
@@ -1,3 +1,5 @@
// Slave
#include "pins.h"
#include <Wire.h>
#include "healthbar.h"