@@ -64,15 +64,15 @@ The following sketch blinks the red LED at an interval of 200ms controlled by th
6464``` cpp
6565// the setup function runs once when you press reset or power the board
6666void setup () {
67- // initialize digital pin LEDR as an output.
67+ // initialize digital pin LEDR as an output.
6868 pinMode (LEDR, OUTPUT);
6969}
7070
7171// the loop function runs over and over again forever
7272void loop () {
7373 digitalWrite (LEDR, LOW); // turn the red LED on (LOW is the voltage level)
7474 delay (200); // wait for 200 milliseconds
75- digitalWrite (LEDR, HIGH); // turn the LED off by making the voltage HIGH
75+ digitalWrite (LEDR, HIGH); // turn the LED off by making the voltage HIGH
7676 delay (200); // wait for 200 milliseconds
7777}
7878```
@@ -88,15 +88,15 @@ Let's write another sketch that makes the RGB LED on the board blink green. Open
8888``` cpp
8989// the setup function runs once when you press reset or power the board
9090void setup () {
91- // initialize digital pin LEDG as an output.
91+ // initialize digital pin LEDG as an output.
9292 pinMode (LEDG, OUTPUT);
9393}
9494
9595// the loop function runs over and over again forever
9696void loop () {
9797 digitalWrite (LEDG, LOW); // turn the LED on (LOW is the voltage level)
9898 delay (500); // wait for half a second
99- digitalWrite (LEDG, HIGH); // turn the LED off by making the voltage HIGH
99+ digitalWrite (LEDG, HIGH); // turn the LED off by making the voltage HIGH
100100 delay (500); // wait for half a second
101101}
102102```
@@ -113,7 +113,7 @@ Before you can upload the code for the M4 core to the Flash memory you need to a
113113``` cpp
114114// the setup function runs once when you press reset or power the board
115115void setup () {
116- // initialize digital pin LED_BUILTIN as an output.
116+ // initialize digital pin LED_BUILTIN as an output.
117117 bootM4 ();
118118 pinMode (LEDR, OUTPUT);
119119}
0 commit comments