colorchord/embedded8266/user/hpatimer.h

17 lines
316 B
C
Raw Normal View History

2015-07-27 09:34:00 +02:00
#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