Flag toggling

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
Posts: 215
Joined: Fri Jun 23, 2017 3:10 am

Flag toggling

Post by mcc » Wed Nov 21, 2018 3:41 pm


I found a little two-command sequence to toggle a flag (in this
case it is flag 01) each time the code is executed without any
further register or variable involved:

FC?C 01
FS 01

...may be it is useful in some cases...

DM 42 - SN: 00373, Firmware release v.:3.18. / 3.18. as compiled by SwissMicros

Post Reply