Hello @user99665, to effectively diagnose, will need a bit more information please.
'I replaced the battery but still nothing'
Are we absolutely sure this is a brand new battery? e.g. try another one
Is the battery upside down? e.g. making proper contact
What event occurred immediately before discovering no LED's? e.g. dropped
Were there any mods to the Puck? e.g. soldering
What code was running? e.g. was NRF.sleep() used
Would you please post the code that was running, along with the results of process.env so that it may be determined if there might have been an endless loop causing the battery to drain.
Was save() used a month ago to store your code then? It could be you aren't seeing LED's as you are accustomed to, as memory (your code) would have been wiped out had the battery gone dead.
Reference in case it hasn't been discovered yet, for future development:
Tutorials forum
'Quick Start Best Practices - Puck tips - increasing battery life - change xmit distance - advertising interval'
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.04.28
Hello @user99665, to effectively diagnose, will need a bit more information please.
Are we absolutely sure this is a brand new battery? e.g. try another one
Is the battery upside down? e.g. making proper contact
What event occurred immediately before discovering no LED's? e.g. dropped
Were there any mods to the Puck? e.g. soldering
What code was running? e.g. was
NRF.sleep()
usedWould you please post the code that was running, along with the results of
process.env
so that it may be determined if there might have been an endless loop causing the battery to drain.Was
save()
used a month ago to store your code then? It could be you aren't seeing LED's as you are accustomed to, as memory (your code) would have been wiped out had the battery gone dead.Reference in case it hasn't been discovered yet, for future development:
Tutorials forum
'Quick Start Best Practices - Puck tips - increasing battery life - change xmit distance - advertising interval'