#include <Wire.h>
#include <SPI.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
//Serial2.begin(115200, SERIAL_8N1, 2, 4);
//Wire.begin();
//SPI.begin();
pinMode(13, OUTPUT);
pinMode(12, INPUT_PULLUP);
//pinMode(26, OUTPUT);
//digitalWrite(26, HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println(digitalRead(12));
delay(10); // this speeds up the simulation
}