For Developers > Wiring Common Library Development

Syntax error in LiquidCrystal discription

(1/1)

Qynx:
LiquidCrystal myDisplay = LiquidCrystal(0,1,2,2);

must be:

LiquidCrystal myDisplay(2, 3, 4, 5, 6, 7); // RS E DB4 DB5 DB6 DB7




Syntax   
display.print(data)
display.print(data, base)

must be:

myDisplay.print(data)
myDisplay.print(data, base)

http://www.wiring.org.co/reference/libraries/LiquidCrystal/LiquidCrystal_print_.html



barragan:
Thank you!

Navigation

[0] Message Index

Go to full version