summaryrefslogtreecommitdiff
path: root/firmware/include/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/settings.h')
-rw-r--r--firmware/include/settings.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/firmware/include/settings.h b/firmware/include/settings.h
new file mode 100644
index 0000000..a06b8c5
--- /dev/null
+++ b/firmware/include/settings.h
@@ -0,0 +1,35 @@
+#pragma once
+
+// OLED
+const int OLED_WIDTH = 128;
+const int OLED_HEIGHT = 64;
+const int OLED_ADDR = 0x3C;
+
+const int SCL_PIN = 8;
+const int SDA_PIN = 10;
+
+// RGB LED
+const int RED_PIN = 2;
+const int GREEN_PIN = 4;
+const int BLUE_PIN = 6;
+
+// 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;