![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
See graph
Dependencies: MCP23017 SDFileSystem WattBob_TextLCD mbed
Fork of Embedded_Software_Assignment_2 by
Diff: Tasks.h
- Revision:
- 5:250f51c80ac1
- Parent:
- 4:b85bc0d810e1
- Child:
- 6:ceda53939eb8
--- a/Tasks.h Fri Feb 26 10:36:23 2016 +0000 +++ b/Tasks.h Fri Feb 26 10:44:38 2016 +0000 @@ -25,6 +25,9 @@ #ifndef _TASKS_H_ #define _TASKS_H_ +#include "MCP23017.h" +#include "WattBob_TextLCD.h" + // Global definitions #define HIGH 1 #define LOW 0 @@ -110,18 +113,24 @@ AnalogIn *_AnalogIn2; }; -// -///* ==================================== Task 5 ==================================== */ -//// Display outputs to LCD -//class Task5 -//{ -//public: -// Task5(); -// -//private: -// -// -//}; +//* ==================================== Task 5 ==================================== */ +// Display outputs to LCD +class Task5 +{ +public: + Task5(PinName sda, PinName scl, int address); + void updateDisplay(int task1Param,int task2Param, float task4Channel1, float task4Channel2); + + +private: + + +protected: + MCP23017 *_par_port; + WattBob_TextLCD *_lcd; + + +}; // ///* ==================================== Task 6 ==================================== */ //// Logical checks