aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/i2c.h')
-rw-r--r--main/i2c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/i2c.h b/main/i2c.h
index 405ae1f..5ad5cfb 100644
--- a/main/i2c.h
+++ b/main/i2c.h
@@ -3,9 +3,11 @@
#include <stddef.h>
#include <stdint.h>
+#include <hardware/i2c.h>
#define SDA_PIN 16
#define SCL_PIN 17
+#define I2C_PORT i2c0
#define MAX_SLAVES 10
/**