Hi all
I am trying to further understand how the T100MD+ assigns bits.....
i have assigned DM[1] to be the control register for a HMI unit (Taian OP26L)
if i wanted to switch bit 12 on, am i right in believing i use the statement
DM[1]=1024
assuming that
bit 0=0,
bit 1=1,
bit 2=2,
bit 3=4,
bit 4=8,
bit 5=16...
..etc..etc...
bit 12=1024
or have i completely missunderstood how this works?
any comments greatly appreciated..
thanks
Russ