![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
All tasks complete
Dependencies: mbed MCP23017 mbed-rtos WattBob_TextLCD
header.h
- Committer:
- aingks
- Date:
- 2019-03-20
- Revision:
- 0:0943f040009c
- Child:
- 1:c4f62ef9b5b7
File content as of revision 0:0943f040009c:
#ifndef HEADER_whatever #define HEADER_whatever #include "mbed.h" #define pin_analog_1 p15 #define pin_analog_2 p16 #define pin_digital_1 p17 #define pin_digital_2 p18 #define pin_digital_3 p19 #define pin_digital_4 p20 #define pin_LED1 LED1 #define pin_LED2 LED2 #define pin_LED3 LED3 #define pin_LED4 LED4 #define pin_LED5 p25 #define pin_LED6 p26 //call the functions at the end for the main //STRUCTURE typedef struct { float brakevalue; float brakeaccel; float array[5]; float average; float rawspeed; }SDATA; SDATA speed; typedef enum{ }IND; typedef struct { float IND; } //calling all functions void task1readbrake(); void task2readaccel(); void task3enginestate(); void task4average(); void task5brakeLED(); void task6speedmonitor(); void task7displayvalues(); void task8sidelights(); void task9indLED(); void taskXserialdump(); #endif