Closed yoctopuce closed 5 years ago
Thanks for reporting, I'm looking into this as well as some related slider issues.
If you can share some info about your device it might help me to reproduce the issue and narrow down the source:
I'm working on an ACCESSORY driver for some Yoctopuce products, the -1000...1000 range is typical of a Yocto-servo, I can share the code if you are interested, Yes it works much better with a 0..100 range. I haven't tested it with several sliders, yet.
Alright, I'm also seeing some issues with a range higher than 1k, I didn't test negative numbers yet but I created an issue internally to track it, once we have a fix we'll include it in the firmware.
As a workaround in the meanwhile, while it's not ideal, you could use 0 to 100 and a mapping internally to the driver translating back to -1000 to 1000. (the screen has a width of 480 pixels, so minus the margins it's still far below a 2000 steps granularity wise)
I've narrowed down the issue with the range to negative ranges, so using 0-2000 should also work.
There's also a second issue with ACCESSORY that I will take a look at, they will not get push updates on the remote, one work around for this is to use LIGHT as a type instead for now.
We have fixes for both issue and they will be included in an upcoming firmware release. I'm closing this since no changes are required on the SDK itself.
Workarounds available on older versions:
I just implemented a slider. It works reasonably well on the NEEO app, but it is barely usable on the remote