Skip to content

Instantly share code, notes, and snippets.

View officer47p's full-sized avatar
🗿

Parsa Hosseini officer47p

🗿
View GitHub Profile
@officer47p
officer47p / hello_world.ino
Created December 14, 2024 00:21 — forked from buzzkillb/hello_world.ino
ESP32 TTGO button 1 and 2 masher with screen and serial example display
//simple button masher esp32 ttgo
#include <TFT_eSPI.h>
#include <SPI.h>
#define BUTTON1PIN 35
#define BUTTON2PIN 0
TFT_eSPI tft = TFT_eSPI();
void IRAM_ATTR toggleButton1() {