From 4a2a1c73b7f7a03b66009a326552744e8fd1dc4b Mon Sep 17 00:00:00 2001 From: yashijoe Date: Sat, 6 Apr 2019 18:55:57 +0200 Subject: [PATCH] added "0x" on data command --- Arilux-LC04.md | 49 ++++++++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/Arilux-LC04.md b/Arilux-LC04.md index b7ec58be..dab88611 100644 --- a/Arilux-LC04.md +++ b/Arilux-LC04.md @@ -12,38 +12,38 @@ Copy this Code to your console to use the 24 Button IR Remote ` rule1 -on IrReceived#Data=FFB04F do power1 on endon -on IrReceived#Data=FFF807 do power1 off endon -on IrReceived#Data=FF906F do dimmer + endon -on IrReceived#Data=FFB847 do dimmer - endon -on IrReceived#Data=FFB24D do scheme 0 endon -on IrReceived#Data=FF00FF do scheme 4 endon -on IrReceived#Data=FF58A7 do scheme 2 endon -on IrReceived#Data=FF30CF do scheme 3 endon +on IrReceived#Data=0xFFB04F do power1 on endon +on IrReceived#Data=0xFFF807 do power1 off endon +on IrReceived#Data=0xFF906F do dimmer + endon +on IrReceived#Data=0xFFB847 do dimmer - endon +on IrReceived#Data=0xFFB24D do scheme 0 endon +on IrReceived#Data=0xFF00FF do scheme 4 endon +on IrReceived#Data=0xFF58A7 do scheme 2 endon +on IrReceived#Data=0xFF30CF do scheme 3 endon ` ` rule2 -on IrReceived#Data=FF9867 do color2 #FF0000 endon -on IrReceived#Data=FFE817 do color2 #470D00 endon -on IrReceived#Data=FF02FD do color2 #381600 endon -on IrReceived#Data=FF50AF do color2 #331E00 endon -on IrReceived#Data=FF38C7 do color2 #332800 endon -on IrReceived#Data=FFD827 do color2 #00FF00 endon -on IrReceived#Data=FF48B7 do color2 #00330A endon -on IrReceived#Data=FF32CD do color2 #003314 endon -on IrReceived#Data=FF7887 do color2 #00331E endon -on IrReceived#Data=FF28D7 do color2 #003328 endon +on IrReceived#Data=0xFF9867 do color2 #FF0000 endon +on IrReceived#Data=0xFFE817 do color2 #470D00 endon +on IrReceived#Data=0xFF02FD do color2 #381600 endon +on IrReceived#Data=0xFF50AF do color2 #331E00 endon +on IrReceived#Data=0xFF38C7 do color2 #332800 endon +on IrReceived#Data=0xFFD827 do color2 #00FF00 endon +on IrReceived#Data=0xFF48B7 do color2 #00330A endon +on IrReceived#Data=0xFF32CD do color2 #003314 endon +on IrReceived#Data=0xFF7887 do color2 #00331E endon +on IrReceived#Data=0xFF28D7 do color2 #003328 endon ` ` rule3 -on IrReceived#Data=FF8877 do color2 #0000FF endon -on IrReceived#Data=FF6897 do color2 #0A0033 endon -on IrReceived#Data=FF20DF do color2 #140033 endon -on IrReceived#Data=FF708F do color2 #140033 endon -on IrReceived#Data=FFF00F do color2 #280033 endon -on IrReceived#Data=FFA857 do color2 #FFFFFF endon +on IrReceived#Data=0xFF8877 do color2 #0000FF endon +on IrReceived#Data=0xFF6897 do color2 #0A0033 endon +on IrReceived#Data=0xFF20DF do color2 #140033 endon +on IrReceived#Data=0xFF708F do color2 #140033 endon +on IrReceived#Data=0xFFF00F do color2 #280033 endon +on IrReceived#Data=0xFFA857 do color2 #FFFFFF endon ` and then activate the rules @@ -57,4 +57,3 @@ and then activate the rules `rule3 5` ![](http://i65.tinypic.com/28i6ikk.png) -