123

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
149:abbf7663d27d
Child:
156:e68ee0bcdcda
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DeviceLightUp.h	Tue May 03 05:12:26 2016 +0000
@@ -0,0 +1,23 @@
+#ifndef __DEVICE_LIGHT_UP_H__
+#define __DEVICE_LIGHT_UP_H__
+
+typedef struct _DeviceLightUpSettings {
+  uint32_t sequence;
+} DeviceLightUpSettings;
+
+typedef struct _DeviceLightUpState {
+  uint32_t sequence;
+  uint8_t enabled;
+} DeviceLightUpState;
+
+typedef struct _DeviceLightUp {
+  DeviceLightUpSettings settings;
+  DeviceLightUpState state;
+} DeviceLightUp;
+
+void InitLightUpWithDefaults(void);
+void InitLightUp(void);
+void StartLightUp(void);
+void LightUpCycle(void);
+
+#endif  /* __DEVICE_LIGHT_UP_H__ */
\ No newline at end of file