use framebuffer

This commit is contained in:
Tobias Gunkel
2025-08-16 11:50:13 +02:00
parent 7d815de240
commit a9d2851688
8 changed files with 385 additions and 319 deletions
+29
View File
@@ -0,0 +1,29 @@
#pragma once
#include <PCF8574.h>
/* GPIO Connections. */
#ifdef USE_PAD_GPIO
#define PIN_UP 2
#define PIN_DOWN 3
#define PIN_LEFT 4
#define PIN_RIGHT 5
#define PIN_A 6
#define PIN_B 7
#define PIN_SELECT 8
#define PIN_START 9
#else
#define PIN_UP 0
#define PIN_DOWN 1
#define PIN_LEFT 2
#define PIN_RIGHT 3
#define PIN_A 5
#define PIN_B 4
#define PIN_SELECT 6
#define PIN_START 7
#endif
void initJoypad();
void handlePad();
void handleSerial();