![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
All tasks complete
Dependencies: mbed MCP23017 mbed-rtos WattBob_TextLCD
Diff: header.h
- Revision:
- 3:f88d667629e6
- Parent:
- 2:9d6d07c9cc9c
- Child:
- 4:27340b291c09
--- a/header.h Wed Mar 20 19:51:42 2019 +0000 +++ b/header.h Mon Mar 25 21:13:24 2019 +0000 @@ -2,7 +2,9 @@ #define HEADER_whatever #include "mbed.h" - +#include "WattBob_TextLCD.h" +#include <vector> +#include "rtos.h" #define pin_analog_1 p15 #define pin_analog_2 p16 @@ -38,7 +40,7 @@ SDATA speed; -typedef enum signallite{ }IND_TURN; +typedef enum signallite{ }IND_TURN;//should be filled with the ind stuff i believe typedef struct @@ -46,10 +48,15 @@ int ENGINESTATE; uint8_t odometer; IND_TURN ind; -}CARINFO; +}CARINFO;//finish this struct CARINFO info; +// pointer to 16-bit parallel I/O object +MCP23017 *par_port; + +// pointer to 2*16 chacater LCD object +WattBob_TextLCD *lcd; //calling all functions