Commit Graph

13 Commits

Author SHA1 Message Date
Toni Klopfenstein ba933eccec Update repo structure and add hardware files 2013-04-17 16:34:06 -06:00
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
Mike Hord 5afb82a7ed Merging Nate's pull 2013-02-15 16:27:11 -07:00
Nathan Seidle b6ec23b87c Changed variable to byte to save space. 2013-01-07 12:09:03 -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
Kade Jensen 6554493297 Changed uint8 to byte 2012-12-28 11:43:29 -07:00
Nathan Seidle 172c744f28 Added global readme. 2012-12-26 16:35:35 -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
Nathan Seidle 1c89338d1b Update to Arduino v1.0
Updated the code to support Arduino v1.0. Re-arranged the file structure
to include PCB layout. New code includes Pete Lewis' addition of battle
mode.
2012-12-26 14:58:15 -07:00
Ryan Owens 3475e99530 Initial Commit of Simon code for 'C' version and Arduino Sketch version (Yes, I know they're the same thing but spare me). 2011-03-24 16:05:35 -06:00