/*void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}
*/
/*Sketch para desenvolvimento do freeRTOS
Eng. Renato Maziero
*/
#include <Arduino.h>
#define LED 2
int n=0;
void setup() {
pinMode(LED,OUTPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(LED,!digitalRead(LED));
delay(500);
Serial.print("LED: ");
Serial.println(n);
n++;
}