Display Steuerung für Lampen per Relais. https://www.youtube.com/watch?v=_CupBMcZ8Xc
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG TS_DISCO_F746NG mbed
Diff: lightAutomatic.h
- Revision:
- 1:f316de154ff7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lightAutomatic.h Sun Apr 23 17:15:53 2017 +0000 @@ -0,0 +1,47 @@ +#ifndef __LIGHT_AUTOMATIC_H +#define __LIGHT_AUTOMATIC_H +/*============================================================================================= + section 1 - includes + ==============================================================================================*/ + +/*============================================================================================= + section 2 - public defines / enumerations + ==============================================================================================*/ + +/*============================================================================================= + section 3 - public typedefs + ==============================================================================================*/ + +/*============================================================================================= + section 4 - public macros + ==============================================================================================*/ + +/*============================================================================================= + section 5 - public constants declaration + ==============================================================================================*/ +//extern + +/*============================================================================================= + section 6 - public variables declaration + ==============================================================================================*/ +/* inputs */ +extern DigitalIn g_doorSensor; +extern DigitalIn g_lightSensor; + +/*============================================================================================= + section 7 - public functions - declaration + ==============================================================================================*/ +/* init function */ +void lightAutomatic_init(void); + +/* getter functions */ + +/* setter functions */ + +/* other functions */ +void lightAutomatic_task(void); + +#endif /* __LIGHT_AUTOMATIC_H */ +/*============================================================================================= + end of file + ==============================================================================================*/ \ No newline at end of file