First off, i am new to the arduino world of open source tech. I really like MAKE magizine and it as well as a co worker of mine has gave me the push i needed to get into open souce hardware and codeing. i have been playing with the arduino now for about 2 or 3 months now and have got to the point where i want to learn displays.
second, i have a ieeflip vfd 03601-02-040, that was source from some old parts laying around. i wanted to make it display the time and date and day of the week.
third, i have a rtc and a arduino uno. i chopped the example code that came with the rtc library down to what i needed to do and it works pretty good. so it came time for me to wire up the vfd and import the vfd libraries. so i downloaded the IeeFlipNoFrills library from arduino.cc i wired up the display in accordance to what the hello world example said and im getting a few errors maybe you guys could help me out with.
please keep in mind that in new to this. lol thanks
this is the code:
/*
IeeFlipNoFrills Library - Hello World
Demonstrates the use an IEE Flip "No Frills" VFD. Tested
with model 03601-95A-40 2x20 alphanumeric display.
This sketch prints "Hello World!" to the VFD
and shows the number of seconds since the sketch
started.
The circuit:
* Display pins 1 (BUSY) connected to Arduino pin 2
* Display pins 2 (WRITE STROBE) connected to Arduino pin 3
* Display pins 3-10 (D7-D0) connected to Arduino pins 4-11
* Display pin 11 (+5V @ 370mA) connected to +5V
* Display pin 12 (GND) connected to GND
* Display pins 13 & 14 unconnected
Created Mar 6, 2011.
Ported to IeeFlipNoFrills on April 10, 2011.
This example code is in the public domain.
http://arduino.cc/playground/Main/IeeFlipNoFrills
*/
// Include the library code.
#include <IeeFlipNoFrills.h>
// Initialize the library with the numbers of the interface pins
IeeFlipNoFrills vfd(2, 3, /* control pins */
11, 10, 9, 8, 7, 6, 5, 4 /* data pins */);
void setup() {
// Start the library/displaying to the vfd
vfd.begin(20, 2);
// Print a message to the VFD.
vfd.print("hello, world!");
}
void loop() {
// Set the cursor to the first column (0) of the second row (1).
vfd.setCursor(0, 1);
// Print the number of seconds since reset.
vfd.print(millis()/1000);
}
and this is the error message:
In file included from HelloWorld.pde:29:
/home/chris/sketchbook/libraries/IeeFlipNoFrills/IeeFlipNoFrills.h:16:22: error: WProgram.h: No such file or directory
In file included from HelloWorld.pde:29:
/home/chris/sketchbook/libraries/IeeFlipNoFrills/IeeFlipNoFrills.h:83: error: conflicting return type specified for ‘virtual void IeeFlipNoFrills::write(uint8_t)’
/home/chris/Desktop/arduino-1.0.5/hardware/arduino/cores/arduino/Print.h:48: error: overriding ‘virtual size_t Print::write(uint8_t)’