39 PROCESS(test_mic_process,
"Mic test");
40 AUTOSTART_PROCESSES(&test_mic_process);
50 printf(
"Mic : %d\n",get_mic());
Device drivers header file for MTS300 sensor board.
int etimer_expired(struct etimer *et)
Check if an event timer has expired.
#define PROCESS_BEGIN()
Define the beginning of a process.
#define PROCESS_THREAD(name, ev, data)
Define the body of a process.
#define PROCESS_END()
Define the end of a process.
#define PROCESS_WAIT_EVENT_UNTIL(c)
Wait for an event to be posted to the process, with an extra condition.
#define PROCESS(name, strname)
Declare a process.
void etimer_set(struct etimer *et, clock_time_t interval)
Set an event timer.
#define CLOCK_SECOND
A second, measured in system clock time.