Skip to content

Commit 71aea85

Browse files
committed
add instructions for uploading example
1 parent bf92a78 commit 71aea85

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

content/Software Support/Upload/My-sketch-uploads-but-does-not-work-as-expected.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ In the above example, `value` we will be assigned an indeterminate value from me
2121

2222
Try this to check for and avoid runtime errors:
2323

24-
* **Try uploading a simple example from the IDE**. If it works, the problem may be due to a runtime error.
24+
* **Try uploading a simple example**. If it works, the problem may be due to a runtime error.
25+
26+
* Using **IDE 2:** On the toolbar menu, go to `File > Examples > 01.Basics` and choose the *Blink* sketch. Click the ![Upload button](img/symbol_upload.png) **Upload** button.
27+
* Using **Web Editor:** On the left-most sidebar, go to `Examples > 01.Basics` and choose the *Blink* sketch. Click the ![Web Editor upload button.](img/symbol_upload-web.png) **Upload** button.
28+
2529
* Take care to not assign values or read from outside the range of a declared array.
2630
* Debug the code by inserting [`Serial.print()`](https://www.arduino.cc/reference/en/language/functions/communication/serial/print/) calls and checking the Serial Monitor. Use this method to check what values get assigned to important variables and when the code branches, e.g. on an `if()` statement. Consider using the [ArduinoTrace](https://www.arduino.cc/reference/en/libraries/arduinotrace/) to make this process simpler.
2731

1.34 KB
Loading

0 commit comments

Comments
 (0)