Closed ThisIsBenny closed 2 years ago
I've tested this on my Enviro Urban and can confirm the result.close() fixes the issue where (for me) only 3 readings could be sent at a time before memory issues prevented the rest going through.
If I'm being pedantic I'd say the if
statement should be reversed so that not in
becomes in
. Otherwise this looks good, thank you! Just waiting on @lowfatcode to have a moment spare from EPIC FONT STUFF to review this.
Thanks all! I had been messing with the HTTP endpoint already so have manually added these fixes: https://github.com/pimoroni/enviro/commit/cafed0633d290945bcefeb4827051df16c860ac8