We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d5badc + 5c3030b commit b97ea1dCopy full SHA for b97ea1d
PyPortal_AWS_IOT_Planter/code.py
@@ -58,6 +58,10 @@
58
59
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)
60
esp = adafruit_esp32spi.ESP_SPIcontrol(spi, esp32_cs, esp32_ready, esp32_reset)
61
+
62
+# Verify nina-fw version >= 1.4.0
63
+assert int(bytes(esp.firmware_version).decode("utf-8")[2]) >= 4, "Please update nina-fw to >=1.4.0."
64
65
status_light = neopixel.NeoPixel(board.NEOPIXEL, 1, brightness=0.2)
66
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(
67
esp, secrets, status_light)
0 commit comments