In file included from LCD_2x16.cpp:11:
C:\Users\Mitchell Haley\Documents\Desk\gta and ard\ard\arduino-1.0\libraries\parallaxlcd/ParallaxLCD.h:23:22: error: WProgram.h: No such file or directory
In file included from LCD_2x16.cpp:11:
C:\Users\Mitchell Haley\Documents\Desk\gta and ard\ard\arduino-1.0\libraries\parallaxlcd/ParallaxLCD.h:44: error: expected class-name before '{' token
C:\Users\Mitchell Haley\Documents\Desk\gta and ard\ard\arduino-1.0\libraries\parallaxlcd/ParallaxLCD.h:51: error: 'boolean' has not been declared
LCD_2x16.cpp: In function 'void setup()':
LCD_2x16.pde:-1: error: 'class ParallaxLCD' has no member named 'print'
LCD_2x16.pde:-1: error: 'class ParallaxLCD' has no member named 'print'
LCD_2x16.pde:-1: error: 'class ParallaxLCD' has no member named 'print'
Any and all help is greatly apreciated.
Moderator edit: [code] ... [/code] tags added. (Nick Gammon)
mitchh718:
But when i verify the sketch I get this:
In file included from LCD_2x16.cpp:11:
C:\Users\Mitchell Haley\Documents\Desk\gta and ard\ard\arduino-1.0\libraries\parallaxlcd/ParallaxLCD.h:23:22: error: WProgram.h: No such file or directory
mitchh718:
Hey I am kind of new to arduino and was trying to get my parallax 27977 lcd display to work with the example sketch
...
It might save a considerable amount of time if you posted a link to this particular device, and a link to the exact library you are using. To save a lot of guessing.
Sorry it didn't occur to me that it would be a problem with the library classes and here's the link http://www.cyberblob.net/parallaxlcd.zip
I fixed the Arduino.h problem and now I am getting this error
In file included from LCD_2x16.cpp:11:
C:\Users\Mitchell Haley\Documents\Desk\gta and ard\ard\arduino-1.0\libraries\parallaxlcd/ParallaxLCD.h:44: error: expected class-name before '{' token
LCD_2x16.cpp: In function 'void setup()':
LCD_2x16.pde:-1: error: 'class ParallaxLCD' has no member named 'print'
LCD_2x16.pde:-1: error: 'class ParallaxLCD' has no member named 'print'
LCD_2x16.pde:-1: error: 'class ParallaxLCD' has no member named 'print'
OK, well it looks like it uses NewSoftSerial which is deprecated in version 1.0 of the IDE. I had to make a few changes to the library (attached) and a minor one to the sketch below:
At least one person was helped. Maybe you could help me also.
I've downloaded the .cpp and the .h files and the sketch file and compiled with no errors but all I get on the display is "" and the cursor advances one space; but only when I reset the arduino. No backlight or anything.
The self test via the switches does work and I have tried all three baud rates.
Any additional help will be greatly appreciated.
(and I'll wait until you Aussies wake up)
Winston
checking on another thread, I noticed that my TX/RX LEDs weren't flashing when I uploaded a program. COM port had been changed. one problem down, more to go.
Now I get the cursor moving about plus a few tones and after 30 seconds or so, it sounds like it's trying to play some tune. From the looks of the sketch; I don't think it's supposed to be playing any tunes.
There's only 3 wires (5v, Gnd and data). Could the length of the wires be a problem. They're not shielded, only twisted, and 19" long (48cm) long. {I don't remember if ya'll use metric or not). I'll try a different jumper cable. one shorter and one shielded and try again.