Environment: Windows - 7 06/14/2013
- Hardware Arduino Uno – R3
- Software Environment Arduino Software Suite 1.05
- Contributed Lib Morse.h via Morse.zip
- Contributed Lib came from http://arduino.cc/en/Hacking/LibraryTutorial “Morse.zip” last statement in tutorial.
I have an Arduino Uno and the provided compiler will not incorporate the contributed Lib functions into a sketch. I get the include statement but to date, all references from the referenced lib have errored-off. I have used any number of lib references all have errored-off in a similar way.
Please provide (if possible) a document reference that would allow me too understand the following:
- A complete list of allowable Compiler syntax for this product?
- All allowable lib structure, functions, class, types, etc.
It would be appreciated.
Thank you and best regards.
Bill
@ “wassonb2@gmail.com”
Code:
// *********************
#include <Morse.h>
Morse morse(13);
void setup()
{
}
void loop()
{
morse.dot(); morse.dot(); morse.dot();
delay(250);
morse.dash(); morse.dash(); morse.dash();
delay(250);
morse.dot(); morse.dot(); morse.dot();
delay(3000);
}
// *********************
Errors ******* Compile **********
SOS_02_lib:4: error: 'Morse' does not name a type
SOS_02_lib.ino: In function 'void loop()':
SOS_02_lib:12: error: 'morse' was not declared in this scope