You are reading a single comment by @Gordon and its replies.
Click here to read the full conversation.
-
So, finally I did a lot of different tests with Amperka library.
I can not fully avert "FIFO_full" error. But I managed to adapt my code (exclude some options) to avoid crash of WiFi connections.- I start initialisating of sensors with delay after the module has established connection to the server
I do noy use on "pulse" listener. I suppose this function consumes lots of memory
flowSensor[0].on('pulse', function () {})
- I start initialisating of sensors with delay after the module has established connection to the server
Great! Sounds like there was already some code in memory from something else that might have been keeping Espruino too busy.
All you need to do is copy&paste it on the left-hand side. No need to add it to
onInit
as that'll remove any saved program code on boot (so if you power off & on the WiFi the code will be gone).