
Zitat von
hap
Use clear_value to cancel the override. It will return to whatever the value was before it was changed with set_value.
Great, works perfectly - many thanks!
Zitieren:
Before set_value, do a read() on 0x18 and set the starting value to that, so the value after a rotation is unchanged after clear_value.
This 'DATA' dial seems to be a bit more complicated - my first trials were not successful.
For read() it's not allowed to add a field(0x18), so I've tried it this way(?):
io = (ioport.ports[":IN.0"]:read())&0x18
But a following command
ioport.ports[":IN.0"]:field(0x18):set_value(io)
changes the 'MENU dial again!?
What I'd like to do is to switch to "P-P on" mode, and later back to "P-C on" again - the first is done by Down-Right-Right-Right-Up.
Could you please tell me the exact command sequence for this task?