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
lightAutomatic.h@1:f316de154ff7, 2017-04-23 (annotated)
- Committer:
- hexfactory
- Date:
- Sun Apr 23 17:15:53 2017 +0000
- Revision:
- 1:f316de154ff7
Helligkeitssensor und T?rkontaktsensor - Display Steuerung [DE]; https://www.youtube.com/watch?v=9OA7kxGMPo8
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hexfactory | 1:f316de154ff7 | 1 | #ifndef __LIGHT_AUTOMATIC_H |
hexfactory | 1:f316de154ff7 | 2 | #define __LIGHT_AUTOMATIC_H |
hexfactory | 1:f316de154ff7 | 3 | /*============================================================================================= |
hexfactory | 1:f316de154ff7 | 4 | section 1 - includes |
hexfactory | 1:f316de154ff7 | 5 | ==============================================================================================*/ |
hexfactory | 1:f316de154ff7 | 6 | |
hexfactory | 1:f316de154ff7 | 7 | /*============================================================================================= |
hexfactory | 1:f316de154ff7 | 8 | section 2 - public defines / enumerations |
hexfactory | 1:f316de154ff7 | 9 | ==============================================================================================*/ |
hexfactory | 1:f316de154ff7 | 10 | |
hexfactory | 1:f316de154ff7 | 11 | /*============================================================================================= |
hexfactory | 1:f316de154ff7 | 12 | section 3 - public typedefs |
hexfactory | 1:f316de154ff7 | 13 | ==============================================================================================*/ |
hexfactory | 1:f316de154ff7 | 14 | |
hexfactory | 1:f316de154ff7 | 15 | /*============================================================================================= |
hexfactory | 1:f316de154ff7 | 16 | section 4 - public macros |
hexfactory | 1:f316de154ff7 | 17 | ==============================================================================================*/ |
hexfactory | 1:f316de154ff7 | 18 | |
hexfactory | 1:f316de154ff7 | 19 | /*============================================================================================= |
hexfactory | 1:f316de154ff7 | 20 | section 5 - public constants declaration |
hexfactory | 1:f316de154ff7 | 21 | ==============================================================================================*/ |
hexfactory | 1:f316de154ff7 | 22 | //extern |
hexfactory | 1:f316de154ff7 | 23 | |
hexfactory | 1:f316de154ff7 | 24 | /*============================================================================================= |
hexfactory | 1:f316de154ff7 | 25 | section 6 - public variables declaration |
hexfactory | 1:f316de154ff7 | 26 | ==============================================================================================*/ |
hexfactory | 1:f316de154ff7 | 27 | /* inputs */ |
hexfactory | 1:f316de154ff7 | 28 | extern DigitalIn g_doorSensor; |
hexfactory | 1:f316de154ff7 | 29 | extern DigitalIn g_lightSensor; |
hexfactory | 1:f316de154ff7 | 30 | |
hexfactory | 1:f316de154ff7 | 31 | /*============================================================================================= |
hexfactory | 1:f316de154ff7 | 32 | section 7 - public functions - declaration |
hexfactory | 1:f316de154ff7 | 33 | ==============================================================================================*/ |
hexfactory | 1:f316de154ff7 | 34 | /* init function */ |
hexfactory | 1:f316de154ff7 | 35 | void lightAutomatic_init(void); |
hexfactory | 1:f316de154ff7 | 36 | |
hexfactory | 1:f316de154ff7 | 37 | /* getter functions */ |
hexfactory | 1:f316de154ff7 | 38 | |
hexfactory | 1:f316de154ff7 | 39 | /* setter functions */ |
hexfactory | 1:f316de154ff7 | 40 | |
hexfactory | 1:f316de154ff7 | 41 | /* other functions */ |
hexfactory | 1:f316de154ff7 | 42 | void lightAutomatic_task(void); |
hexfactory | 1:f316de154ff7 | 43 | |
hexfactory | 1:f316de154ff7 | 44 | #endif /* __LIGHT_AUTOMATIC_H */ |
hexfactory | 1:f316de154ff7 | 45 | /*============================================================================================= |
hexfactory | 1:f316de154ff7 | 46 | end of file |
hexfactory | 1:f316de154ff7 | 47 | ==============================================================================================*/ |