aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.h
diff options
context:
space:
mode:
authorThomasintAnker <thomasintanker1@gmail.com>2024-05-24 11:21:41 +0200
committerThomasintAnker <thomasintanker1@gmail.com>2024-05-24 11:21:41 +0200
commit4499d3cdfa2210a3c8be5e93f45fd7286e0d646d (patch)
tree6c8de3536a0c03f29198e905a4d7f4a8d2538e2a /main/i2c.h
parent5e7481e9170c1334d74a57e84640e89a40cf74c3 (diff)
pani
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
/**