adafruit / Adafruit_CircuitPython_AdafruitIO

Adafruit IO for CircuitPython
http://io.adafruit.com
MIT License
49 stars 33 forks source link

add function receive_some_data() #91

Closed mzandrew closed 10 months ago

mzandrew commented 2 years ago

It would be nice to be able to receive just the last N values posted, somewhere between 1 (what receive_data() provides) and all (what receive_all_data() provides). receive_all_data always results in out of memory errors for me, so receive_some_data(feed_name, 256) would be handy for plotting on a microcontroller.