more modules for the MCU code

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-04-11 23:54:25 +02:00
parent 5b82cd8189
commit 6e22bee95c
13 changed files with 170 additions and 83 deletions

8
main/common.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
#define BUTTON_UP GPIO_NUM_1
#define BUTTON_DOWN GPIO_NUM_6
#define BUTTON_LEFT GPIO_NUM_3
#define BUTTON_RIGHT GPIO_NUM_5
#define BUTTON_SELECT GPIO_NUM_18
#define BUTTON_BACK GPIO_NUM_16