This commit is contained in:
fatimaxsen committed 2025-05-19 14:26:59 +03:00
1 parent 97f01b932a
commit e209cf0196
2 files changed
+8 -8

No files matched your search

+2 -3
View File
@@ -1,11 +1,10 @@
#include <I2CMotor.h>
#include <Wire.h>
// Define I2C pins and slave addresses
#define SDA_PIN 8
#define SCL_PIN 3
#define INITIAL_SLAVE_ADDR 0x08
#define NEW_SLAVE_ADDR 0x10
#define INITIAL_SLAVE_ADDR 0x10
#define NEW_SLAVE_ADDR 0x12
I2CMotor motor(SDA_PIN, SCL_PIN);