#Slider value
8 messages · Page 1 of 1 (latest)
So the slider goes from 0-100% and you want to map that to ?-1785. Then you want the value and the group of 255 its in 0-6?
Yes every group should start from 0 to 255
Not sure what thiss means. But it sounds like you want to do floor( (val * 1785) / 255)
this returns the group index it's in such that 0-254 is group 0, 255-509 is group 1, 510-764 is group 2 etc...
Thank you for your time
.close