10-28-2026, 10:34 PM
Code:
00 | GLOB CLKO ---- > ---- ---- ---- ; clock output 0/1
01 | CALC FLG^ 00|=1 > ---- ---- ---- ; /2
02 | CALC FLG^ 01|=1 > ---- ---- ---- ; /4
03 | CALC FLG^ 02|=1 > ---- ---- ---- ; /8
04 | CALC FLG^ 03|=1 > ---- ---- ---- ; /16
05 | GLOB SRUN ---- > ---- ---- ---- ; 1 = running
06 | CALC DINV 05|=0 > SETV RW01 RST ; stopped -> clear /2
07 | CALC DINV 05|=0 > SETV RW02 RST ; stopped -> clear /4
08 | CALC DINV 05|=0 > SETV RW03 RST ; stopped -> clear /8
09 | CALC DINV 05|=0 > SETV RW04 RST ; stopped -> clear /16
0A | VAR RW0A #800 > ---- ---- ---- ; constant 800h = 5 V
0B | CALC MUL 01|0A > CV PTCH (1-1) ; /2 -> CV16 out 1
0C | CALC MUL 02|0A > CV PTCH (1-2) ; /4 -> CV16 out 2
0D | CALC MUL 03|0A > CV PTCH (1-3) ; /8 -> CV16 out 3
0E | CALC MUL 04|0A > CV PTCH (1-4) ; /16 -> CV16 out 4In the upcoming version V3.03 less rows are needed.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!

