Calling a function
Posted: Mon Mar 25, 2019 11:34 pm
Hi everyone,
I compile and upload the following sketch on esp32 devkic
The problem is that the serial monitor shows nothing.. When I upload the same sketch on my Arduino UNO it works fine..
Any advice?
I compile and upload the following sketch on esp32 devkic
Code: Select all
void setup() {
Serial.begin(9600);
Serial.println("Hi");
count();
}
void count(){
for (int i=0;i<5;i++){
Serial.println(i);
}
}
void loop() {
}
Any advice?