const int servo = 5, buzzer = 16, TRIG = 17, ECHO = 18;
const int LED_R = 17, LED_G = 12, LED_B = 14;
const int PB1 = 26, PB2 = 27;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(PB1, INPUT_PULLUP);
}
void loop() {
Serial.print(digitalRead(PB1));
delay(1000); // this speeds up the simulation
}