Skip to content

Commit 0732d5a

Browse files
author
Federico Fissore
committed
Fixed compilation errors with some examples
1 parent c1d8b5e commit 0732d5a

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

libraries/LiquidCrystal/examples/CustomCharacter/CustomCharacter.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ void setup() {
112112
lcd.begin(16, 2);
113113
// Print a message to the lcd.
114114
lcd.print("I ");
115-
lcd.write(0);
115+
lcd.write((byte) 0);
116116
lcd.print(" Arduino! ");
117-
lcd.write(1);
117+
lcd.write((byte) 1);
118118

119119
}
120120

libraries/WiFi/examples/ConnectNoEncryption/ConnectNoEncryption.ino

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
modified 31 May 2012
1313
by Tom Igoe
1414
*/
15+
#include <SPI.h>
1516
#include <WiFi.h>
1617

1718
char ssid[] = "yourNetwork"; // the name of your network

libraries/WiFi/examples/ConnectWithWEP/ConnectWithWEP.ino

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
modified 31 May 2012
2323
by Tom Igoe
2424
*/
25+
#include <SPI.h>
2526
#include <WiFi.h>
2627

2728
char ssid[] = "yourNetwork"; // your network SSID (name)

libraries/WiFi/examples/ConnectWithWPA/ConnectWithWPA.ino

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
modified 31 May 2012
1313
by Tom Igoe
1414
*/
15+
#include <SPI.h>
1516
#include <WiFi.h>
1617

1718
char ssid[] = "yourNetwork"; // your network SSID (name)

0 commit comments

Comments
 (0)