char inisial = 'B' ;
bool BANGBIL = false;
int R = 2;
int S = 3;
int T = R + S ;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println(T);
Serial.print("Billy:");
Serial.println(inisial);
Serial.print("status ");
Serial.println(BANGBIL? "yes":"no");
Serial.println("Hello, ESP32!");
pinMode(12, INPUT);
pinMode(32, OUTPUT);
}
void loop() {
int buton = digitalRead(12);
Serial.println(buton);
if (buton == 1){
digitalWrite(32,HIGH);}
else {
digitalWrite(32,LOW);
}
// put your main code here, to run repeatedly:
// this speeds up the simulation
}
Loading
esp32-devkit-v1
esp32-devkit-v1