This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE eagle SYSTEM "eagle.dtd"> | |
<eagle version="8.2.2"> | |
<drawing> | |
<settings> | |
<setting alwaysvectorfont="no"/> | |
<setting verticaltext="up"/> | |
</settings> | |
<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/> | |
<layers> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Quick and dirty NES to DMG button driver (originally by Mr.Blinky) | |
* | |
* Using digital pins so it can be easily run on any Arduino | |
* Because DigitalRead and DigitalWrite are pretty slow, no delays are | |
* required when changing controller pin states and reading in data | |
*/ | |
//NES button state masks | |
#define BS_A _BV(7) | |
#define BS_B _BV(6) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduboy2.h> | |
Arduboy2 arduboy; | |
BeepPin1 beep1; | |
BeepPin2 beep2; | |
static bool tonesPlaying = false; | |
static uint8_t duration = 0; | |
static uint8_t *tonesStart = 0; |
OlderNewer