Hi,
A few minutes ago I flashed the latest 10.4.0 firmware.
I now get this error in a dark yellow message box at the bottom of the UHK software (e.g. when I remap a key and try to save the new configuration to the keyboard):
Error at LED brightness toggle 1/1/1: Unrecognized command: ifNotRegEq
> 1 | ifNotRegEq 30 1 goTo switchHigh
> | ^
Error at LED brightness toggle 1/2/1: Unrecognized command: ifRegEq
> 2 | ifRegEq 30 1 goTo switchLow
> | ^
Error at LED brightness toggle 1/6/7: Unrecognized command: setReg
> 6 | final setReg 30 1
> | ^
Error at LED brightness toggle 1/9/1: Unrecognized command: setReg
> 9 | setReg 30 0
> | ^
Error at Record typing 1/1/21: Could not parse #key
> 1 | ifShift recordMacro #key
> | ^
Error at Record typing 1/2/22: Could not parse #key
> 2 | ifNotShift playMacro #key
> | ^
These two macros are:
LED brightness toggle:
ifNotRegEq 30 1 goTo switchHigh
ifRegEq 30 1 goTo switchLow
switchHigh:
set leds.brightness 1
final setReg 30 1
switchLow:
set leds.brightness 0.1
setReg 30 0
Record typing:
ifShift recordMacro #key
ifNotShift playMacro #key
The reference guide (https://github.com/UltimateHackingKeyboard/firmware/blob/v10.4.0/doc-dev/reference-manual.md) still lists e.g. ifNotRegEq
so why should trigger its usage an “Unrecognized command” warning / error?