Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mochoy committed Oct 12, 2017
1 parent cc2b59d commit 35cdff8
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions nerf-ammo-counter/nerf-ammo-counter.ino
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
//By Monty C

/*Here's how it will work:
* It's simple. When the trigger is pulled, count down 1 from the ammo. When a magazine is inserted, refill the ammo. A button can be
* used to toggle through the different magazine sizes: 5, 6, 10, 12, 15, 18, 22, 25, and 36. The last mode is counts up, starting from 0,
* which can be accessed from the toggling the magazine sizes. The magazine sizes will increment, with the press of the button, from 0,
* 5, 6, 12 … 36 and will not decrement, for the sake of simplicity.
*
*
* I am aware that the code isn't that good. It's not my best, not my neatest, and it's not too efficient for working with micro controllers, but it should be fine.
*/

/*----------------------------------------------------------------------*
* nerf-ammo-counter *
* Monty Choy, 2017 *
* *
* Arduino sketch for ammo counters in NERF blasters *
* Be sure to check out the links: *
* Youtube Video: https://goo.gl/KjQfdK *
* Tutorial: https://goo.gl/8JSXbc *
*----------------------------------------------------------------------*/

//libraries, so the display can work
#include <Adafruit_GFX.h>
Expand Down

0 comments on commit 35cdff8

Please sign in to comment.