I am working on a project with fluxamasynth, I have books on c++ and arduino.
some ression i do not have the right librarys for this code.
When I try to compile my code it says, "can not find Wprogram.h" and "byte not declared".
I'm going to guess that the problem isn't your sketch, but one of the libraries has not been updated for 1.0+ use. If you posted the real error messages, we could probably help.
c:\arduino\arduino-1.0.3\libraries\Fluxamasynth/NewSoftSerial.h:7
0: error: conflicting return type specified for 'virual void
NewSoftSerial:write(uint8_t)'
C:\arduino\arduino-1.0.3\hardware\arduino\cores\arduino/Print.h:4
8: error: overriding 'virual size_t Print::wite(uint8_t'
in file included from newtest2.ino:1:
C:\arduino\arduino-1.0.3\libraries\Fluxamasynth\Fluxamasynth.h:32
: error: 'byte' does not name a type
C:\arduino\arduino-1.0.3\libraries\Fluxamasynth/Fluxamasynth.h:21
:22: error: WProgram.h: No such file or directory
in file included from
C:\arduino\arduino-1.0.3\libraries\Fluxamasynth/Fluxamasynth.h:22
,
conflicting return type specifed for 'virtual void
NewSoftSerial::write(uint8_t)'
Problem solved, it compiled
And uploaded!!!
Thank you Paul! I feel so dumb.
Hey does anyone have code for fluxamasynth to make it an instrument? I need to know where to start.