- Press the upload button to upload your revised Blink program to the Arduino board.
- Notice the LED is blinking faster.
STEM Connections
When you change the Blink code, you need to press the upload button in the Arduino software for it to translate that revised code into a new program and send that program to the Arduino board. Any changes to the code need to be uploaded to the Arduino board. Every time the upload button is pressed it translates the code in the computer window into a program again and sends that program to the Arduino board.
If time permits, we allow the students to explore coding different values. The next step, Try New Things, describes a few other ideas for students to try.
“error compiling”
- Click upload again.
“problem uploading to board”
- Be sure the port is connected to the right COM#.
- Unplug and re-plug the USB cable (possibly using a different USB port if another one is available).
- Disconnect all wires from the Arduino board, unplug and re- plug the USB cable, close all Arduino windows and open the Blink code again, then try uploading again.
“expected ‘ ) ‘ before ‘;’ token”
- Notice it highlights the area the problem is in.
- You’re missing a parenthesis somewhere, make sure every parenthesis has its match.
“expected ‘;’ before ‘delay’ ”
- Notice it highlights the area the problem is in.
- You’re missing a ‘;’ after a line of code. Check each line has a ‘;’ after it.