Compiler not referencing contributed Lib.

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

A common problem many people have with contributed libraries at first is how to download them and extract them into the proper directory/folder. You have to create a library directory named libraries in your arduino user's directory. In that folder there has to be a folder with the same name used by the specific libraries xxxx.h and xxxx.cpp files along with any additional files the library uses.

example on my windows XP system for a library called Button to read switches contains:

C:\Documents and Settings\Primary Windows User\My Documents\Arduino\libraries\Button

AlphaLicense.txt
Button.cpp
Button.h
keywords.txt

Lefty

Hi, Some Library help on the http://ArduinoInfo.Info WIKI here: http://arduino-info.wikispaces.com/Arduino-Libraries