Gast
#4659936
Hallo,
Ichhabe ein 20x4 Display von Displaytech und will es mit meinem Arduino
101 ansteuern. Hardware sollte richtig funktionieren! Um das Display
erstmals zu testen habe ich mir das Hello World programm von der Arduino
Hompage genommen. Ich glaube das ich eventuel eine andere Bibliothek
brauche da ich einen Intel mikrokontroller verwende und nicht einen
Atmega.
Vielen Dank für jede Hilfe im Vorraus.
programm:
Quote
❝#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(20, 4);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 0);
// print the number of seconds since reset:
lcd.print(millis() / 1000);
}