feat: implemented simple logic to detect cards and send information to master via I2C

This commit is contained in:
SWETRAK
2026-07-03 23:50:58 +02:00
parent 3eb119f6a2
commit a3cfa44d82
8 changed files with 138 additions and 9 deletions
+8 -1
View File
@@ -10,4 +10,11 @@ Addresses:
- Slave 2 -> `0x09`
- Slave 3 -> `0x0A`
- Slave 4 -> `0x0B`
- Slave 5 -> `0x0C`
- Slave 5 -> `0x0C`
# LED config
Led Type: WS2812B
Pin: 5
Count: 29
Color Order: GRB
+3
View File
@@ -38,6 +38,9 @@ void setup()
void loop()
{
// put your main code here, to run repeatedly:
// TODO: Implement the main loop logic for I2C communication with slave devices
// TODO: Implement the logic to control the LED strip based on the received data from slave devices
// TODO: Send informations to PC via Serial communication, needs to be implemented based on the previous code snippets.
}
void testLedStrip()