WIP Code
ADC now works in interrupt mode. No idea why DMA was unreliable. Initial button push / release detection and mode switch detection working. No callbacks implemented yet.
This commit is contained in:
@@ -13,8 +13,16 @@
|
||||
|
||||
|
||||
|
||||
void adc_init();
|
||||
#define ADC_CHANNELS 6
|
||||
#define ADC_HISTLEN 16
|
||||
|
||||
|
||||
|
||||
extern uint16_t adc_avg[ADC_CHANNELS];
|
||||
|
||||
|
||||
|
||||
void adc_init();
|
||||
uint8_t adc_next();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user