diff options
author | ThomasintAnker <thomasintanker1@gmail.com> | 2024-05-24 11:21:41 +0200 |
---|---|---|
committer | ThomasintAnker <thomasintanker1@gmail.com> | 2024-05-24 11:21:41 +0200 |
commit | 4499d3cdfa2210a3c8be5e93f45fd7286e0d646d (patch) | |
tree | 6c8de3536a0c03f29198e905a4d7f4a8d2538e2a /main/i2c.h | |
parent | 5e7481e9170c1334d74a57e84640e89a40cf74c3 (diff) |
pani
Diffstat (limited to 'main/i2c.h')
-rw-r--r-- | main/i2c.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 /** |