Updated
This commit is contained in:
1 parent
97f01b932a
commit
e209cf0196
2 files changed
+8
-8
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user