Search the Community
Showing results for tags 'INTERNAL2V5'.
I've run into an issue with execssive current usage on the Launchpad. My goal is to run a sensor on a battery for at least a year. The initial test was promosing because the launchpad (with J3 jumpers removed of course) was drawing barely a uA in LP3 sleep mode using the sleepSeconds() function in Energia. I was thrilled. Then I figured that I should keep tabs on the battery level. To do this, I had to set analogReference to INTERNAL2V5 and use analogRead(11) to get the value. It works great. Below is a barebones snippet. The problem is that the current usage jumps to 180uA even in LP3 sle