X2D lib first commit

Revision:
16:fc4796efd10b
Parent:
15:2f74266340ac
Child:
17:2a9e02dccd88
--- a/X2D.h	Sat Dec 14 08:31:18 2019 +0000
+++ b/X2D.h	Sat Dec 14 09:21:47 2019 +0000
@@ -10,15 +10,16 @@
 
 typedef enum {
     Moon   = 0,
-    Conf1  = 1, // Confort -1
-    Conf2  = 2, // Confort -2
+    Conf1  = 1, // Confort -2
+    Conf2  = 2, // Confort -1
     Sun    = 3,
-    ABS     = 4,
-    HG     = 7,
-    OFF     = 8
+    ABS    = 4,
+    HG     = 7, // Abs with prog = Sun
+    OFF    = 8,
+    OFF2   = 0x0B // Off with prog = Sun
 }h_mode;  //Heater mode
-// mode | 0x80 => OFF
-// mode | 0x40 => Abs
+// mode | 0x08 => OFF
+// mode | 0x04 => Abs
 
 typedef struct {
     long v;