07.03.2022, 08:50
You can convert 1 bit start/stop to 4 bit up/down/stop via a simple script.
Press (true) = Up, Release (false) = Stop
Press (true) = Down, Release (false) = Stop
Press (true) = Up, Release (false) = Stop
Code:
value = event.getvalue() and 9 or 0
grp.write('32/1/1', value, dt.bit4)
Press (true) = Down, Release (false) = Stop
Code:
value = event.getvalue() and 1 or 0
grp.write('32/1/2', value, dt.bit4)