diff options
| author | EnricoGuccii <partyka.003@proton.me> | 2026-05-29 23:34:00 +0200 |
|---|---|---|
| committer | EnricoGuccii <partyka.003@proton.me> | 2026-05-29 23:34:00 +0200 |
| commit | d3b283c69e9cf5ac6fe18c25be77a9b0488b9454 (patch) | |
| tree | b39c0bda024eb053a0daab7b938be72a7d3e470e /include/settings.h | |
| parent | 4bd0a060d100c7fb9ad657c939b954b081b62016 (diff) | |
new file structure, and buzzer removed
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;
|