colorchord/embedded8266/user/hpatimer.h
2015-07-27 03:34:00 -04:00

17 lines
316 B
C

#ifndef _HPATIMER_H
#define _HPATIMER_H
#include <c_types.h>
//Using a system timer on the ESP to poll the ADC in at a regular interval...
//BUFFSIZE must be a power-of-two
#define HPABUFFSIZE 512
extern volatile uint8_t sounddata[HPABUFFSIZE];
extern volatile uint16_t soundhead;
void StartHPATimer();
#endif