I'm looking for more detail on the DIM and BRIGHT commands..
from what I can figure so far, 5 bits control OFF to FULL ON.. is that right? 32 steps?
Also, I need to figure out the preset dim command... all the X10 switches I have are old 1way, that don't support a preset dim..
Thanks as always..
Dan
Quote from: ddamron on January 02, 2008, 03:38:19 AM
I'm looking for more detail on the DIM and BRIGHT commands..
from what I can figure so far, 5 bits control OFF to FULL ON.. is that right? 32 steps?
Also, I need to figure out the preset dim command... all the X10 switches I have are old 1way, that don't support a preset dim..
Thanks as always..
Dan
http://www.smarthomeusa.com/info/x10theory/#theory (http://www.smarthomeusa.com/info/x10theory/#theory) ???
-Thom
http://svn.charonmedia.org/trac.cgi/browser/trunk/src/CM11A/devicepoll.cpp#L49
#define CM11A_MAX_DIM_LEVEL 22
http://svn.charonmedia.org/trac.cgi/browser/trunk/src/CM11A/devicepoll.cpp#L169
unsigned char dim = (unsigned char)(pMesg->getDimmLevel() * CM11A_MAX_DIM_LEVEL * 1.0 / 100);