23
23
#define SWITCH_PIN PB2 // pin 7
24
24
#define SWITCH_PCINT PCINT2 // pin 7 pin change interrupt
28
28
// average drop across diode on this hardware
29
29
#define VOLTAGE_FUDGE_FACTOR 5 // add 0.25V
34
31
#define FAST 0xA3 // fast PWM both channels
35
32
#define PHASE 0xA1 // phase-correct PWM both channels