Programming a ATtiny85 with a Morsecode sketch - failure

Hi,

im NOT a very experienced C programmer or nothing. But i recently checked that "library" you mentioned. It seems this "library" is a pretty bad example of how a library should not be. Since its broken and needs a lot of fixing first before it can be used properly.

it seems not to be working "out of the box" with Arduino IDE 1.01. Seems youll need to add

#if defined(ARDUINO) && ARDUINO >= 100
#include “Arduino.h”
#else
#include “WProgram.h”
#endif

to it to have it compile properly in the latest IDE.

it seems it does not support the arduinos "tone()" function. As far i can tell it requires an "pwm" Pin to put out any "audio" or beeping using the default 500hz PWM at 50% duty cycle. pretty ugly if you ask me.

The "Usage" documentation that is included in the source code is outdated and does not include the complete parameter requirements.

the sendmsg() function seemed to require a pointer (?) or memory adress where it can find the string. So im not sure it can just take in a "string" like in your demo.

To me this does not look like a good choice for a morse library. At least none that is supposed to work out of the box.