Sun 2019.06.16
re: ' English is not my first language'
Hi @barry_b_benson, you had me fooled, right up to the "Hi y'all" which gave it away! ;-)
y'all
How many LEDs are we talking about and how long are they enabled? Duty cycle?
As the entire code block isn't shown, is it possible we are stuck inside a loop perhaps? (e.g. continuously broadcasting perhaps)
Not enough time in sleep mode?
Have you seen these:
http://www.espruino.com/Puck.js#power-consumption
In the Tutorial Section: Quick Start Best Practices - increasing battery life
http://forum.espruino.com/conversations/324125/ https://www.espruino.com/Power+Consumption
http://forum.espruino.com/conversations/324125/
https://www.espruino.com/Power+Consumption
Posting the entire code block would be of immense help here.
Common quote: "The problem is in the code you didn't post."
@Robin started
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.
Sun 2019.06.16
Hi @barry_b_benson, you had me fooled, right up to the "Hi
y'all
" which gave it away! ;-)How many LEDs are we talking about and how long are they enabled? Duty cycle?
As the entire code block isn't shown, is it possible we are stuck inside a loop perhaps?
(e.g. continuously broadcasting perhaps)
Not enough time in sleep mode?
Have you seen these:
In the Tutorial Section: Quick Start Best Practices - increasing battery life
Posting the entire code block would be of immense help here.