34
34
//#define VOLTAGE_PIN PB2 // pin 7, voltage ADC
35
35
//#define ADC_CHANNEL 0x01 // MUX 01 corresponds with PB2
36
36
//#define ADC_DIDR ADC1D // Digital input disable bit corresponding with PB2
39
39
// average drop across diode on this hardware
40
40
#ifndef VOLTAGE_FUDGE_FACTOR
41
41
#define VOLTAGE_FUDGE_FACTOR 5 // add 0.25V
47
44
#define FAST 0xA3 // fast PWM both channels
48
45
#define PHASE 0xA1 // phase-correct PWM both channels