Thank you so so much I got the display to light up and with VCC 5v on, it shows black blocks where the letters should be.
Now I don't get the code to run. I use the library:
from
http://www.wentztech.com/radio/arduino/files/LCDI2C.html
it has a hello world in its examples.
I am clueless where to copy the "LCDI2C.cpp" and "LCDI2C.h" to!!!
I coped them to :
localhost libraries # pwd
/usr/share/arduino-0017/hardware/libraries
localhost libraries # ls -la
total 52
drwxr-xr-x 13 root uucp 4096 Aug 27 01:31 .
drwxr-xr-x 6 root uucp 4096 Aug 26 17:10 ..
drwxr-xr-x 3 root uucp 4096 Aug 26 17:10 EEPROM
drwxr-xr-x 4 root uucp 4096 Aug 26 17:10 Ethernet
drwxr-xr-x 3 root uucp 4096 Aug 26 17:10 Firmata
drwxr-xr-x 3 root uucp 4096 Aug 27 01:33 LCDi2c
drwxr-xr-x 3 root uucp 4096 Aug 26 17:10 LiquidCrystal
drwxr-xr-x 3 root uucp 4096 Aug 26 17:10 Matrix
drwxr-xr-x 3 root uucp 4096 Aug 26 17:10 Servo
drwxr-xr-x 3 root uucp 4096 Aug 26 17:10 SoftwareSerial
drwxr-xr-x 2 root uucp 4096 Aug 26 17:10 Sprite
drwxr-xr-x 3 root uucp 4096 Aug 26 17:10 Stepper
drwxr-xr-x 4 root uucp 4096 Aug 26 17:10 Wire
localhost libraries # ls -la LCDi2c/
total 68
drwxr-xr-x 3 root uucp 4096 Aug 27 01:33 .
drwxr-xr-x 13 root uucp 4096 Aug 27 01:31 ..
-rwxr-xr-x 1 root uucp 7359 Aug 27 01:33 LCDI2C.cpp
-rwxr-xr-x 1 root uucp 1822 Aug 27 01:33 LCDI2C.h
-rw-r--r-- 1 root uucp 33540 Aug 27 01:33 LCDI2C.o
-rw-r--r-- 1 root uucp 4500 Aug 27 01:33 README LCDI2C.rtf
drwxr-xr-x 8 root uucp 4096 Aug 27 01:33 examples
localhost libraries #
but this only get me:
[code]20: error: LCDI2C.h: No such file or directory In function 'void setup()':
Bad error line: -2
on that code
#include <Wire.h>
#include <LCDI2C.h>
LCDI2C lcd = LCDI2C(2,10,0x4E,1); // Number of lines and i2c address of the display
void setup() {
lcd.init();
lcd.print("Hello World!");
}
void loop()
{
}
So I feel like I have to install this library differntly. But how?
thank you already :=
[/code]