On October 4, 2006 at 14:50, clintonm9 said...
I think i got it figure out. Would this be the correct
mce.irp?
Where did you get all that from?
This is the correct mce.irp
Device=0.28
Function=0..255
Define M=6
Define T=0
Frequency=36000
Time Base=444
Message Time=106m
Zero=-1,1
One=1,-1
First Bit=MSB
Form=;6,-2,1:1,M:3,-2,2,128:8,S:8,T:1,D:7,F:8
Device=.28
Function=0..255
Define M=1
Define T=7
Define C=2
I hadn't noticed before that C was defined in my copy of mce.irp. It doesn't do anything. It must have been accidentally left over from some earlier related .irp file that I used as a basis for this one. I just removed it from my own copy.
But why did you change M and T?
M has to be 6 or the result won't be MCE protocol.
T can only be 0 or 1. That is the toggle bit. Depending on how you use the results, you may need both versions (T=0 and T=1) of each command. But for checking for discretes I think either version should be OK.