The first time we practicing programming ussually with "hello world". Since Arduino both hardware and software, here is how to hello world in Arduino
---------------------------------------------------------------------------------------------------
//Learn Arduino-Hello world
void setup () {
Serial.begin(9600);//open serial port with speed 9600 bit per second
delay(10000); // delay time 10 second
Serial.println("Hello world"); //print out the hello world
}
void loop () {}
---------------------------------------------------------------------------------------------------
//Learn Arduino-Hello world
void setup () {
Serial.begin(9600);//open serial port with speed 9600 bit per second
delay(10000); // delay time 10 second
Serial.println("Hello world"); //print out the hello world
}
void loop () {}
No comments:
Post a Comment