From f89f83d05e1d30b32ecae380f4c2ed34f4d79009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Kub=C3=AD=C4=8Dek?= Date: Wed, 27 May 2026 08:30:37 +0200 Subject: [PATCH] =?UTF-8?q?P=C5=99id=C3=A1n=C3=AD=20konstant=20pro=20piny?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/src/main.cpp | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/src/main.cpp b/src/src/main.cpp index e55b7e4..722c928 100644 --- a/src/src/main.cpp +++ b/src/src/main.cpp @@ -1,8 +1,21 @@ #include + +constexpr byte BTN = 6; // connected to GND on the other side +constexpr byte ENCODER_CLK = 8; +constexpr byte ENCODER_DT = 9; +constexpr byte ENCODER_SW = 12; + +// common cathode +constexpr byte RGB_G = 3; +constexpr byte RGB_R = 5; +constexpr byte RGB_B = 11; + +constexpr byte SERVO_PWM = 10; + void setup() { -// write your initialization code here + } void loop() { -// write your code here + } \ No newline at end of file