Closed Milor123 closed 2 months ago
It appears that value was zero or negative. That's normally what would cause math.log10() to throw a math domain error. I'll take a look at the code add a check for this.
My guess is the sensor returned a zero or a negative number and the UI tried to show it, so if that happens I should boost the value up to 1 so the slider won't error.
I've checked in a fix. The code immediately above was already checking for this, but then went on to use the unchecked original value - boom!
I've checked in a fix. The code immediately above was already checking for this, but then went on to use the unchecked original value - boom!
Thank you very much bro !!! I've pulled and now my vdu works again !!! Thankssss 😄 ❤️
Hello brother, I'm here again. I take this opportunity to tell you that I have been very happy with the implementation of the physical sensor + VDU, it works great.
Today at the end of the afternoon something curious happened to me, suddenly my VDU threw the following error (I will leave the log at the end). It's a little strange, but I think that at the time it happened I had programmed some light mode change (in the presets), I'm not sure. However, now that I tried to open my VDU again, I still get this error.
what should i do for fix it?