Has anyone used this display library recently HPDecVFD??

I've been trying to get this library to work with the latest arduino software.... or any version for that matter and can't seem to get a sketch using it to compile.

Can someone just try loading and verify a sketch from this library for me??

I'm relatively new to arduino's and have a project in mind where i'd like to use this display.

This is the output i get when i try to verify and upload the sketch......

In file included from Icons.cpp:25:
C:\Users\LSDave\Documents\Arduino\libraries\HpDecVfd/HpDecVfd.h:62: error: conflicting return type specified for 'virtual void HpDecVfd::write(uint8_t)'
C:\Users\LSDave\Desktop\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'

Figured it out..... Must use Arduino 0023 to upload with this library. 1.0 doesnt work.

not exactly the "HPDecVFD" - but I had the same problems with the FutabaUsVfd on Arduino 1.0.1

Here are the changes I made to FutabaUsVfd.cpp

Line 10:

  • old: #include "WProgram.h"
  • new: #include "Arduino.h"

Line 116:

  • old: /virtual/ void FutabaUsVfd::write(uint8_t character)
  • new: /virtual/ size_t FutabaUsVfd::write(uint8_t character)

Line 127:

  • old: return;
  • new: return 1;

Now it works fine for me :grin:

thx
Gerhard