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

Committer:
hexfactory
Date:
2017-04-23
Revision:
1:f316de154ff7

File content as of revision 1:f316de154ff7:

#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
 ==============================================================================================*/