CueCat Code Problem
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 14
- Joined: Mon Oct 29, 2012 6:00 pm
Re: CueCat Code Problem
Oh wow thanks let me know when he replies
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CueCat Code Problem
Bill's response:
http://code.google.com/p/waverp/downloads/list
There are two library folders to install, WaveRP and SdFat. SdFat contains the elusive PgmPrint.h file.
See if it works for you.
The original release of WaveRP is still available for download here:It looks like CueCat is based on the first version of WaveRP which was posted over three years ago. This version of WaveRP was posted for comments before the first beta of WaveRP and before SdFat was a separate library.
CueCat could be modified to use new versions of WaveRP and SdFat but it would require good programming skill.
http://code.google.com/p/waverp/downloads/list
There are two library folders to install, WaveRP and SdFat. SdFat contains the elusive PgmPrint.h file.
See if it works for you.
-
- Posts: 14
- Joined: Mon Oct 29, 2012 6:00 pm
Re: CueCat Code Problem
Thanks for everything ill try it tonight
-
- Posts: 14
- Joined: Mon Oct 29, 2012 6:00 pm
Re: CueCat Code Problem
It appears to have solved the 'PgmPrint.h' Problem but now it says:
no matching function for call to 'WaveRP::play(SdFIle&)'
And the error log:
cucatlog.cpp: In function 'void playFile(char*)':
cucatlog.pde error: no matching function for call to 'WaveRP::play(SdFile&)'
C:\Users\Fudgematico\Downloads\arduino-1.0.1\libraries\WaveRP/WaveRP.h:125: note: candidates are: bool WaveRP::play(SdBaseFile*)
cucatlog.cpp: In function 'void setup()':
cucatlog.pde error: 'class SdFile' has no member named 'create'
cucatlog.cpp: In function 'void loop()':
cucatlog.pde error: 'class SdFile' has no member named 'writeByteError'
cucatlog.pde error: 'class SdFile' has no member named 'writeByteError'
Is this a simple solution?
no matching function for call to 'WaveRP::play(SdFIle&)'
And the error log:
cucatlog.cpp: In function 'void playFile(char*)':
cucatlog.pde error: no matching function for call to 'WaveRP::play(SdFile&)'
C:\Users\Fudgematico\Downloads\arduino-1.0.1\libraries\WaveRP/WaveRP.h:125: note: candidates are: bool WaveRP::play(SdBaseFile*)
cucatlog.cpp: In function 'void setup()':
cucatlog.pde error: 'class SdFile' has no member named 'create'
cucatlog.cpp: In function 'void loop()':
cucatlog.pde error: 'class SdFile' has no member named 'writeByteError'
cucatlog.pde error: 'class SdFile' has no member named 'writeByteError'
Is this a simple solution?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CueCat Code Problem
It compiles for me in Arduino 0.22. Are you sure you have the right SdFat and WaveRP libraries installed? You should have the ones from 2009. Make sure there aren't any other versions in your libraries folder. After you install the libraries, you should restart the Arduino IDE.
-
- Posts: 14
- Joined: Mon Oct 29, 2012 6:00 pm
Re: CueCat Code Problem
Oh so I need an older version of the IDE?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CueCat Code Problem
Sorry - I think I got you confused with another thread. I thought you were already using an older version of the IDE.
But, yes. If you don't want to have to modify the libraries, you're going to have to use an older version of the IDE. I happen to have 0.22, but 0.23 should also work.
I did try it with v1.0.1. I get errors, but not at all the same errors you're seeing. The only errors I get are consistent with using old libraries in the new IDE:
But, yes. If you don't want to have to modify the libraries, you're going to have to use an older version of the IDE. I happen to have 0.22, but 0.23 should also work.
I did try it with v1.0.1. I get errors, but not at all the same errors you're seeing. The only errors I get are consistent with using old libraries in the new IDE:
Code: Select all
In file included from /ricklesniak/Documents/Arduino/libraries/WaveRP/WaveRP.h:22,
from cucatlog.cpp:1:
/ricklesniak/Documents/Arduino/libraries/SdFat/SdFat.h:242: error: conflicting return type specified for 'virtual void SdFile::write(uint8_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
In file included from cucatlog.cpp:5:
/ricklesniak/Documents/Arduino/libraries/SdFat/PgmPrint.h: In function 'void PgmSerialPrint(const char*)':
/ricklesniak/Documents/Arduino/libraries/SdFat/PgmPrint.h:10: error: 'Serial' was not declared in this scope
/ricklesniak/Documents/Arduino/libraries/SdFat/PgmPrint.h: In function 'void PgmSerialPrintln(const char*)':
/ricklesniak/Documents/Arduino/libraries/SdFat/PgmPrint.h:15: error: 'Serial' was not declared in this scope
-
- Posts: 14
- Joined: Mon Oct 29, 2012 6:00 pm
Re: CueCat Code Problem
Oh very sorry ill try it tomorrow
I am new and don't know the terminology
I am new and don't know the terminology
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CueCat Code Problem
You can still download 0.22 and 0.23 here:
http://arduino.cc/en/Main/Software
http://arduino.cc/en/Main/Software
-
- Posts: 14
- Joined: Mon Oct 29, 2012 6:00 pm
Re: CueCat Code Problem
Thanks for you help I got everything to upload
The only thing now is that when I plug in everything I load up the IDE and run the Serial Monitor
I try to scan but nothing happens? is that a Cuecat fault or a board fault, because the Cuecat's red light comes on?
The only thing now is that when I plug in everything I load up the IDE and run the Serial Monitor
I try to scan but nothing happens? is that a Cuecat fault or a board fault, because the Cuecat's red light comes on?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CueCat Code Problem
I can't help you there. I've never heard of a cuecat before. I don't know what it does, or what this project is supposed to do. You'll really have to contact the author of the instructables project.
-
- Posts: 14
- Joined: Mon Oct 29, 2012 6:00 pm
Re: CueCat Code Problem
have you got an email for the maker of the tutorial? thanks for all your help as well
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: CueCat Code Problem
Which tutorial? The Instructables project? No - you'll have to look there for contact info.
Please be positive and constructive with your questions and comments.