pimoroni / enviro

MIT License
104 stars 83 forks source link

Enhancement of http destination #15

Closed ThisIsBenny closed 2 years ago

ThisIsBenny commented 2 years ago
tbbuck commented 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.

Gadgetoid commented 2 years ago

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.

lowfatcode commented 2 years ago

Thanks all! I had been messing with the HTTP endpoint already so have manually added these fixes: https://github.com/pimoroni/enviro/commit/cafed0633d290945bcefeb4827051df16c860ac8