Thursday, November 27, 2014

Arduino Duemilanove Sainsmart LCD Panel

Why they can't put comments in the example code to tell you what adjustments you need on a per-board-flavour basis, I don't know. Thou gets what thou payest fur.

In this case, it's teh LiquidCrystal lcd(... thingie )..
(And please grow up blogger.. I actually had to hack HTMl to get this to display correctly. I think you know which part needed the <)
#include <Wire.h>
#include <liquidcrystal.h>

LiquidCrystal lcd( 8, 9, 4, 5, 6, 7 );

void setup()
{
  lcd.begin(16, 2);
  lcd.print("hello, world!");
}

void loop()
{
    // your main loop code here...
}

No comments:

Post a Comment