File tree Expand file tree Collapse file tree 12 files changed +21
-16
lines changed
build/shared/examples/07.Display/RowColumnScanning
EEPROM/examples/eeprom_read
SoftwareSerial/examples/SoftwareSerialExample
Stepper/examples/stepper_speedControl Expand file tree Collapse file tree 12 files changed +21
-16
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,7 @@ int x = 5;
5050int y = 5 ;
5151
5252void setup () {
53- Serial.begin (9600 );
54- // initialize the I/O pins as outputs:
55-
53+ // initialize the I/O pins as outputs
5654 // iterate over the pins:
5755 for (int thisPin = 0 ; thisPin < 8 ; thisPin++) {
5856 // initialize the output pins:
Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ byte value;
1414
1515void setup ()
1616{
17+ // initialize serial and wait for port to open:
1718 Serial.begin (9600 );
19+ while (!Serial) {
20+ ; // wait for serial port to connect. Needed for Leonardo only
21+ }
1822}
1923
2024void loop ()
Original file line number Diff line number Diff line change 3232
3333 This example code is in the public domain.
3434
35- http://www.arduino.cc/en/Tutorial/LiquidCrystal
35+ http://arduino.cc/en/Tutorial/LiquidCrystalAutoscroll
36+
3637 */
3738
3839// include the library code:
Original file line number Diff line number Diff line change 3232
3333 This example code is in the public domain.
3434
35- http://www. arduino.cc/en/Tutorial/LiquidCrystal
35+ http://arduino.cc/en/Tutorial/LiquidCrystalBlink
3636
3737 */
3838
Original file line number Diff line number Diff line change 3333
3434 This example code is in the public domain.
3535
36- http://www.arduino.cc/en/Tutorial/LiquidCrystal
36+ http://arduino.cc/en/Tutorial/LiquidCrystalCursor
37+
3738 */
3839
3940// include the library code:
Original file line number Diff line number Diff line change 3333
3434 This example code is in the public domain.
3535
36- http://www.arduino.cc/en/Tutorial/LiquidCrystal
36+ http://arduino.cc/en/Tutorial/LiquidCrystalDisplay
37+
3738 */
3839
3940// include the library code:
Original file line number Diff line number Diff line change 3333
3434 This example code is in the public domain.
3535
36- http://www.arduino.cc/en/Tutorial/LiquidCrystal
36+ http://arduino.cc/en/Tutorial/LiquidCrystalScroll
37+
3738 */
3839
3940// include the library code:
Original file line number Diff line number Diff line change 3232
3333 This example code is in the public domain.
3434
35- http://www. arduino.cc/en/Tutorial/LiquidCrystal
35+ http://arduino.cc/en/Tutorial/LiquidCrystalSerial
3636 */
3737
3838// include the library code:
Original file line number Diff line number Diff line change 3232
3333 This example code is in the public domain.
3434
35- http://www. arduino.cc/en/Tutorial/LiquidCrystal
35+ http://arduino.cc/en/Tutorial/LiquidCrystalTextDirection
3636
3737 */
3838
@@ -49,7 +49,6 @@ void setup() {
4949 lcd.begin (16 , 2 );
5050 // turn on the cursor:
5151 lcd.cursor ();
52- Serial.begin (9600 );
5352}
5453
5554void loop () {
Original file line number Diff line number Diff line change 3232
3333 This example code is in the public domain.
3434
35- http://www.arduino.cc/en/Tutorial/LiquidCrystal
35+ http://arduino.cc/en/Tutorial/LiquidCrystalSetCursor
36+
3637 */
3738
3839// include the library code:
You can’t perform that action at this time.
0 commit comments