![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
All tasks complete
Dependencies: mbed MCP23017 mbed-rtos WattBob_TextLCD
Diff: header.h
- Revision:
- 5:f5dda79b93cb
- Parent:
- 4:27340b291c09
- Child:
- 6:abbd51d9b045
diff -r 27340b291c09 -r f5dda79b93cb header.h --- a/header.h Tue Mar 26 14:49:10 2019 +0000 +++ b/header.h Tue Mar 26 15:20:57 2019 +0000 @@ -22,6 +22,24 @@ #define pin_LED6 p26 +#define MAXSPEED 160 +#define SAMPLESIZE 5 + +//FREQUENCIES +#define CLOCKFREQ 20 +#define TASK1FREQ 8 +#define TASK2FREQ 10 +#define TASK3FREQ 4 +#define TASK4FREQ 4 +#define TASK5FREQ 4 +#define TASK6FREQ 5 +#define TASK7FREQ 2 +#define TASK8FREQ 4 +#define TASK9FREQ 1 +#define TASK9FREQS2 2 +#define TASKXFREQ 0.5 + + //call the functions at the end for the main