Uploading our first sketch
Once you know how to connect the board to your computer and how to let the Arduino development environment know about it, the moment has come to create our first real test.
We will upload the simplest sketch to the Arduino board just to confirm that all parts are correctly set up and that you can, for sure, begin to work with it and learn how to program it.
What we will do is load one of the examples that comes with the Arduino development environment, in particular, one called Blink that makes use of the onboard integrated LED to make it do just that—blink.
To do this, go to the File menu in the menu bar and select the Examples command, navigate to 01.Basics, and select Blink.
The Arduino development environment should ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access