I can't speak english very well but i will try to do it. I just got started with arduino, i have a LCD with HD44780 chips. I dowloaded the library to control it but when I open Arduino-0010 alpha it shows me an error:
ERROR BUILDING Liquid CRystal.
When i try to compile my program the compiler show me another error. I thaught that it was a problem with my version of arduino, so i try to download another version, Arduino 004. With this version the compiler error does't appear but i can't upload my program on my ARDUINO DIECIMILA ( ATmega-168). Can you please help me?
Thank and excuse me for my bad english, i'm studying it at school ;D
I have the same problem...
You need to edit LiquidCrystal.cpp and change the following:
extern void pinMode(int, int) --> extern void pinMode(uint8_t, uint8_t)
extern void digitalWrite(int, int) --> extern void digitalWrite(uint8_t, uint8_t)
extern void digitalRead(int) --> extern void digitalRead(uint8_t)
... or do it the easy way: For $9 you can buy a kit which lets you control the LCD via just one pin from the Arduino. It doesn't even have to be the "main" serial output.
See.....
(the page is headed "LCD board"... but you can buy a kit of parts with everything except the LCD panel.)
(I'm just a satisfied ModernDevice customer... no other connection.)
... or do it the easy way: For $9 you can buy a kit which lets you control the LCD via just one pin from the Arduino. It doesn't even have to be the "main" serial output.
(the page is headed "LCD board"... but you can buy a kit of parts with everything except the LCD panel.)
(I'm just a satisfied ModernDevice customer... no other connection.)
It seems to me that pasting those three lines into the library code is a lot easier than sending nine bucks to an internet company and waiting for a board to arrive
(I'm just a satisfied user of Arduino LCD libraries)