
Code Analysis
Serial.begin(
9600
);
The software running on the computer communicates with the development board, and the baud
rate is 9600.
Serial.print(
" "
);
This function is used to output data from the serial port, the output is what is contained in the
double quotation marks.
Serial.println( );
This statement is similar to the one above, except that
serial.println has a newline return.
39
Grove Beginner Kit For Arduino
®