Lizzy project

Dependencies:   aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT

Committer:
dbartolovic
Date:
Thu Sep 20 07:34:35 2018 +0000
Branch:
testing-ignore
Revision:
24:7539258b015c
Parent:
16:482d8f81d6f3
Not a branch to be ignored, added proj_config, changed logic.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dbartolovic 8:7ba4f82de9b6 1 #ifndef __TASKS_H__
dbartolovic 8:7ba4f82de9b6 2 #define __TASKS_H__
dbartolovic 8:7ba4f82de9b6 3
dbartolovic 24:7539258b015c 4 #include "proj_config.h"
dbartolovic 8:7ba4f82de9b6 5 #include "Lis2dh12.h"
dbartolovic 8:7ba4f82de9b6 6
dbartolovic 8:7ba4f82de9b6 7 #define MEAS_DONE (0x00001000)
dbartolovic 24:7539258b015c 8 #define UPDATE_BUZZ_LEDS (0x00002000)
dbartolovic 15:c0c01188a29b 9 #define START_MEAS (0x00010000)
dbartolovic 8:7ba4f82de9b6 10
dbartolovic 8:7ba4f82de9b6 11 void tasks_init();
dbartolovic 8:7ba4f82de9b6 12
dbartolovic 8:7ba4f82de9b6 13 #if TEST_LEDS_BUZZ
dbartolovic 8:7ba4f82de9b6 14 void led_tick();
dbartolovic 8:7ba4f82de9b6 15 void buzz_tick();
dbartolovic 8:7ba4f82de9b6 16 #endif
dbartolovic 8:7ba4f82de9b6 17
dbartolovic 8:7ba4f82de9b6 18 void measureF(Lis2dh12 *mems);
dbartolovic 8:7ba4f82de9b6 19 void updateServiceF();
dbartolovic 8:7ba4f82de9b6 20 void updateBuzzLedsF();
dbartolovic 8:7ba4f82de9b6 21 void bleF(BLE *ble);
dbartolovic 16:482d8f81d6f3 22 void servLoopC(void);
dbartolovic 24:7539258b015c 23 void longDelaysC(void);
dbartolovic 8:7ba4f82de9b6 24
dbartolovic 8:7ba4f82de9b6 25 #endif//__TASKS_H__