Skip to content

Instantly share code, notes, and snippets.

@mr-fool
mr-fool / hello_world.ino
Created August 4, 2020 00:58 — 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() {