Commit Graph

6 Commits

Author SHA1 Message Date
Pete Lewis 3fb180c8ef Utilized Tone() for BEEGEES Melody
I utilized the built-in Arduino Tone() function and "pitches.h" header
to recreate the BeeGees melody. It looks a lot cleaner in the code, and
it's easier to figure out the melody (which is also now in a nice
looking array). The only down side is that the volume is about half. I
would love to hack the arduino Tone() function to be able to play the
tone on both sides of the buzzer. But for now, I think the cleaner code
is more important.
2013-02-18 14:45:24 -07:00
Pete Lewis 47361618c5 Corrected hardware mapping for BAORD_REV_4_9_2009
The LED_GREEN is actually off of PORTD.2, and so in arduino this is
Digital Pin "2". Also added/adjusted comments on the #defines for board
revs to include "PTH" and "SMD" and additional date codes.
2013-02-18 14:09:28 -07:00
Nathan Seidle 64ff505961 Corrected the hardware mapping to older board versions.
This new mapping system should work but it is untested.
2012-12-29 10:58:34 -07:00
Nathan Seidle 078011212b Improved button checking. Completed port to Arduino v1.0.
Button checking is now faster, more responsive, and should handle heavy,
slow button presses as well. Now works fully under Arduino v1.0 and have
removed the majority of the older C specific code.
2012-12-29 10:43:19 -07:00
Nathan Seidle a9b242e9b6 Lots of porting to Arduino functions and standards. 2012-12-28 21:49:19 -07:00
Nathan Seidle b26205e706 All white space changes. Moved hardware versions to header file.
I corrected all the /* style comments to // comments to fit with
SparkFun style guides. Now works using the Arduino auto-format function.
2012-12-26 16:14:22 -07:00