Merge remote-tracking branch 'arduino/master' into ide-1.5.x
This commit is contained in:
@@ -17,6 +17,8 @@
|
|||||||
* LCD D6 pin to digital pin 3
|
* LCD D6 pin to digital pin 3
|
||||||
* LCD D7 pin to digital pin 2
|
* LCD D7 pin to digital pin 2
|
||||||
* LCD R/W pin to ground
|
* LCD R/W pin to ground
|
||||||
|
* LCD VSS pin to ground
|
||||||
|
* LCD VCC pin to 5V
|
||||||
* 10K resistor:
|
* 10K resistor:
|
||||||
* ends to +5V and ground
|
* ends to +5V and ground
|
||||||
* wiper to LCD VO pin (pin 3)
|
* wiper to LCD VO pin (pin 3)
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ void LiquidCrystal::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) {
|
|||||||
|
|
||||||
// SEE PAGE 45/46 FOR INITIALIZATION SPECIFICATION!
|
// SEE PAGE 45/46 FOR INITIALIZATION SPECIFICATION!
|
||||||
// according to datasheet, we need at least 40ms after power rises above 2.7V
|
// according to datasheet, we need at least 40ms after power rises above 2.7V
|
||||||
// before sending commands. Arduino can turn on way befer 4.5V so we'll wait 50
|
// before sending commands. Arduino can turn on way before 4.5V so we'll wait 50
|
||||||
delayMicroseconds(50000);
|
delayMicroseconds(50000);
|
||||||
// Now we pull both RS and R/W low to begin commands
|
// Now we pull both RS and R/W low to begin commands
|
||||||
digitalWrite(_rs_pin, LOW);
|
digitalWrite(_rs_pin, LOW);
|
||||||
|
|||||||
Reference in New Issue
Block a user