Loading
Loading
IoT Lab content is currently available in Arabic only. We're working on an English version.
عرض بالعربية →How to make Arduino talk to you and send text messages to your computer screen.
Works directly through the USB cable (pins 0 and 1 are used internally for serial communication).
int counter = 0;
void setup() {
Serial.begin(9600);
Serial.println("Hello, IoT Lab!");
}
void loop() {
counter++;
Serial.print("Counter is: ");
Serial.println(counter);
delay(1000);
}The Baud Rate at the bottom of the Serial Monitor window doesn't match the number in Serial.begin(), causing strange hieroglyphic characters to appear.