The contacts are not corroded, I already cleaned them.
The usb cable is ok, I can read 5V on the pins. I also have used a different cable, connected it directly to 5v and still not charging.
E.getBattery() returns "2" and analogRead(D3) returns values around "0.25".
Any idea what can be wrong?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The contacts are not corroded, I already cleaned them.
The usb cable is ok, I can read 5V on the pins. I also have used a different cable, connected it directly to 5v and still not charging.
E.getBattery() returns "2" and analogRead(D3) returns values around "0.25".
Any idea what can be wrong?