hey,
this is more a question for calculator code but since google is terribly useless and LLMS just hallucinate i thought id ask here.
im trying to write code that controls the transponder code with two rotary switches. one for the first two digits and another for the last 2.
now since squaqwk codes only go to 7 when reaching 0 it needs to become 7 and i seam unable to make that conditional work, ive tried the following to check for 0:
(A:TRANSPONDER CODE:1, Number) 100 / floor 10 mod 0 == if{ and (A:TRANSPONDER CODE:1, Bco16) 8 >> 15 & 15 0 == if{(curtesy LLM) but neither work.
Has anyone a idea how to solve this?