[McHUG] Mason Dixon Hamfest Update

Rich Mitchell geobra at att.net
Fri Oct 17 09:48:41 EDT 2008


McHUGgers,

Success with making a library out of Pete's Morse generation code.  It's now working as an Arduino library and even has an example.  There were 3 issues that needed to be resolved.
1) the writing a library tutorial is a bit old.  It wanted you to include "WProgram.h" which caused errors.  Removing that include statement resolved that.
2) After you compile the library (close down and reopen the Arduino Integrated Development Environment), if you need to make a change, you have to delete the dot o (object) file for it to recompile.  If you don't, no change will occur.
3) Originally we had defined the lookup array at definition time.  With a C++ class that was a bit tough to do so the easy solution was to define an empty array of the right size and fill it at constructor time.

Now for the seminar I don't want to go into creating a library, but I want to show how to use one if you download one from the web or want to use our ascii2morse.

I also have ordered a video splitter that will take the console output from the computer, amplify it and send it to 4 monitors.  That should get here Monday.  If it works okay I plan to use it at the seminar.  I have 2 LCD monitors and can grab a couple from the club's excess pile of CRTs (like the 21" and one other).  That way everyone should be able to see what we are doing.

73, Rich, N3III

--
McHUG - Physical Computing ;) 
MicroController Ham User Group



More information about the McHUG mailing list