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
//------------------------------------------------------------------------------ | |
// Interrupt 0 fires on pin D2 | |
#define IR_PIN 2 | |
// the maximum pulse we'll listen for | |
#define MAX_PULSE 30000 | |
// the largest message we expect to receive (in bits) | |
#define MAX_MSG_SIZE 50 |