This code goes on your ESP32 TTGO T1 Display

Then connect to this window, click anywhere, and a drop down will appear letting you select teh board. The serial messages will be piped to the browser and used to turn the cube from red to pink.


#define BUTTON 35
//this is the right button on the TTGO T1 Display

void setup() {
  Serial.begin(115200);
  pinMode(BUTTON, INPUT);
}

void loop() {
  Serial.print(digitalRead(BUTTON));
  delay(100);
}