Case 02 Helloword experiment
- Purpose:
Make students master the principle of serial communication, use Arduino to write programs, compile and download programs.
- experiment equipment:
A computer with Arduino software installed, and a set of UNO development boards.
- Experimental effect:
- Experimental theory:
- Circuit Connection Diagram
- Experimental procedure:
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Hello word");
delay(1000);
}
After compiling and downloading the program, click Open to observe the experimental effect.
- Summary after class:
Make students master the principle of serial communication, use Arduino to write programs, compile and download programs.