print("Failed to get or send data, or connect. Error:", e,
"\nBoard will hard reset in 30 seconds.")
time.sleep(30)
microcontroller.reset()
Your CIRCUITPY/lib folder should contain at least the following folders and files:
adafruit_io/
adafrruit_minimqtt/
neopixel.mpy
If you like, you can connect to the serial console() to see the connection info and
current readings printed out.
NeoPixel Color Change
To change the color of the NeoPixel, go to the NeoPixel Adafruit IO dashboard you
created at the beginning, and click on the colored circle in the ColorPicker block. It
will bring up the following.
•
•
•
©Adafruit Industries Page 153 of 263