Tab Content
Tab Title
Instructions
Tab Content
  1. Press the upload button to upload your revised Blink program to the Arduino board.
  2. 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 your window into a program again and sends that program to the Arduino board.

Tab Title
Troubleshooting
Tab Content

“error compiling”

  1. Try clicking ‘upload’ again 

“problem uploading to board”

  1. Be sure the port is connected to the right COM#
  2. Unplug and re-plug the USB cable (possibly using a different USB port if another one is available).
  3. 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

  1. Notice it highlights the area area the problem is in.
  2. You’re missing a parenthesis somewhere, make sure every parenthesis has its match.

“expected ‘;’ before ‘delay’ “

  1. Notice it highlights the are area the problem is in.
  2. You’re missing a ‘;’ after a line of code. Check each line has a ‘;’ after it.
Tab Title
Implementation
Tab Content

If time, allow the students to explore coding different values. The next step contains a couple ideas of how to go further.

Instruction Category