@VNB said in GUI-O with Nano 33 BLE and the ArduinoBLE Library:
There were two minor problems.
1.) The Slider Control knob always stayed at 100% even if it is set to a low brightness. That was fixed by adding the following instruction in the "led drive" section.
sendMsg("@brightness VIS:1 VAL:val\r\n");
The code:
@VNB said in GUI-O with Nano 33 BLE and the ArduinoBLE Library:
sendMsg("@brightness VIS:1 VAL:val\r\n");
is not correct (as you've already pointed out), since the val is a non-numeric string that GUI-O cannot convert to numeric string.
This is correct:
@VNB said in GUI-O with Nano 33 BLE and the ArduinoBLE Library:
sendMsg("@brightness VIS:1 VAL:"+ String(val) + "\r\n");
as the String constructor converts the val into numerical representation.
This code should not be necessary, since the value originates from CB, which should already have the correct position. The issue seems to originate from somewhere else, but I cannot see the problem...
Regards,
kl3m3n