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.
1 parent 011a9d6 commit 3d06504Copy full SHA for 3d06504
examples/esp32spi_simpletest.py
@@ -10,6 +10,19 @@
10
TEXT_URL = "http://wifitest.adafruit.com/testwifi/index.html"
11
JSON_URL = "http://api.coindesk.com/v1/bpi/currentprice/USD.json"
12
13
+
14
+# If you have an externally connected ESP32:
15
+esp32_cs = DigitalInOut(board.D9)
16
+esp32_ready = DigitalInOut(board.D10)
17
+esp32_reset = DigitalInOut(board.D5)
18
19
+# If you are using a board with pre-defined ESP32 Pins:
20
+"""
21
+esp32_cs = DigitalInOut(board.ESP_CS)
22
+esp32_ready = DigitalInOut(board.ESP_BUSY)
23
+esp32_reset = DigitalInOut(board.ESP_RESET)
24
25
26
esp32_cs = DigitalInOut(board.ESP_CS)
27
esp32_ready = DigitalInOut(board.ESP_BUSY)
28
esp32_reset = DigitalInOut(board.ESP_RESET)
0 commit comments