There is something missing in the code of this function and the vcc value is updated once at the program start and never again during the execution.
I've temporarly solved the issue with an analogRead(A0) at the beginning of the procedure but that's not very nice.
Could you look at that ?
There is something missing in the code of this function and the vcc value is updated once at the program start and never again during the execution. I've temporarly solved the issue with an analogRead(A0) at the beginning of the procedure but that's not very nice. Could you look at that ?