Difference between revisions of "LCD EL 1602A"
Jump to navigation
Jump to search
(Created page with "Le LCD EL 1602A est un afficheur caractères 2 lignes * http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1262531462/31 * http://www.geniusnet.sk/om3bc/datasheets/el1602a.pdf <pre…") |
|||
Line 3: | Line 3: | ||
* http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1262531462/31 |
* http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1262531462/31 |
||
* http://www.geniusnet.sk/om3bc/datasheets/el1602a.pdf |
* http://www.geniusnet.sk/om3bc/datasheets/el1602a.pdf |
||
+ | |||
+ | |||
+ | Exemple: |
||
<pre> |
<pre> |
||
#include <LiquidCrystal.h> // include the library code: |
#include <LiquidCrystal.h> // include the library code: |
Latest revision as of 14:20, 12 May 2011
Le LCD EL 1602A est un afficheur caractères 2 lignes
- http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1262531462/31
- http://www.geniusnet.sk/om3bc/datasheets/el1602a.pdf
Exemple:
#include <LiquidCrystal.h> // include the library code: LiquidCrystal lcd(5, 4, 3, 2, 1, 0); // initialize the library with the numbers of the interface pins void setup() { pinMode(7, OUTPUT); digitalWrite(7, HIGH); // set the LED on lcd.begin(16, 2); // set up the LCD's number of rows and columns: } void loop() { lcd.setCursor(0, 0); // Regla ("1......8......16") lcd.print("Saludos a todos ");// Print a message to the LCD. lcd.setCursor(0, 1); lcd.print("del Newbie: Heke");// Print a message to the LCD. }