diff options
Diffstat (limited to 'include/settings.h')
| -rw-r--r-- | include/settings.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/settings.h b/include/settings.h new file mode 100644 index 0000000..b8068c7 --- /dev/null +++ b/include/settings.h @@ -0,0 +1,30 @@ +#pragma once
+
+// OLED
+const int OLED_WIDTH = 128;
+const int OLED_HEIGHT = 64;
+const int OLED_ADDR = 0x3C;
+
+const int SCL_PIN = 10;
+const int SDA_PIN = 8;
+
+// RGB LED
+const int RED_PIN = 9;
+const int GREEN_PIN = 7;
+const int BLUE_PIN = 5;
+
+// MOTORS
+const int EN12 = 40;
+const int IN1 = 38;
+const int IN2 = 36;
+
+const int EN34 = 39;
+const int IN3 = 37;
+const int IN4 = 35;
+
+// const int EN34 = 13;
+// const int IN3 = 7;
+// const int IN4 = 5;
+
+// BUZZER
+const int BUZZER_PIN = 13;
|