Hi
I am trying to do a smart power meter pulse counter with the puck.
It all kind of works, until the values get over a certain level. Then it throws all kind of errors and stops sending any data.
This is the setAdvertising code I use:
All of the service data values are integers. Power is instantaneous power which can go to like 5000 and pulseHour and pulseDay can go well over 1000. I tried not using the string, but then it does not store the full value. Not sure where it breaks
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.
Hi
I am trying to do a smart power meter pulse counter with the puck.
It all kind of works, until the values get over a certain level. Then it throws all kind of errors and stops sending any data.
This is the setAdvertising code I use:
All of the service data values are integers. Power is instantaneous power which can go to like 5000 and pulseHour and pulseDay can go well over 1000. I tried not using the string, but then it does not store the full value. Not sure where it breaks