Resoloution can be used to refer to both the number of significant digits and the number of decimal places.
Pete.
Resoloution can be used to refer to both the number of significant digits and the number of decimal places.
Pete.
resolution is an abhorrent term.
Why ?
Because it’s not used by the mainstream.
Breaking news: Blynk announces latest app update - now with slider resolution of 0.03125 (1/32) or the new (1/2 ^ 5) resolution slider.
Great news!!
Just don’t know why… yet
I confirm that the latest build fixes the problem with the button and the virtual pins. I just tested it and it works just like it used to.
Thank you!
I didn’t get if this is running or not…because it doesn’t seem to work.
What exactly doesn’t work? @Dmitriy is the server ready for “set property maximumFractionDigits” calls?
Yeah I was wondering if the server can already handle that…
Server is ready but not deployed yet :).
Seems this property update should work now, as the server has been updated and also we have a new app release.
It seems it is not.
Do you have a 2.20.0 app?
could you show an example of your sketch with this set property call?
Just updated.
I’m using JS…the code related to that is:
let precision_MIN_CURRENCY_ONE;
if (config.MIN_CURRENCY_ONE > 100){
precision_MIN_CURRENCY_ONE = 0;
} else if (config.MIN_CURRENCY_ONE > 10){
precision_MIN_CURRENCY_ONE = 1;
} else if (config.MIN_CURRENCY_ONE > 1){
precision_MIN_CURRENCY_ONE = 2;
} else {
precision_MIN_CURRENCY_ONE = 3;
}
blynk.setProperty(5, "maximumFractionDigits", precision_MIN_CURRENCY_ONE);
My bad. I commited this change to wrong repo .
And where is the documentation you were mentioning before?
I took “maximumFractionDigits” from a post here if I remember well.
I din’t find anything in the docs related to this.
“maximumFractionDigits” is a correct name for this property.