#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(27, OUTPUT);
pinMode(26, OUTPUT);
digitalWrite(26, HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}