Skip to content

Commit 4e48e69

Browse files
author
brentru
committed
update aio post with similar predef for external pins
1 parent 952b38b commit 4e48e69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/esp32spi_aio_post.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
print("WiFi secrets are kept in secrets.py, please add them there!")
1616
raise
1717

18-
# for externally connected ESP32
18+
# If you have an externally connected ESP32:
1919
esp32_cs = DigitalInOut(board.D9)
2020
esp32_ready = DigitalInOut(board.D10)
2121
esp32_reset = DigitalInOut(board.D5)
2222

23-
# For PyPortal use
23+
# If you are using a board with pre-defined ESP32 Pins:
2424
"""
2525
esp32_cs = DigitalInOut(board.ESP_CS)
2626
esp32_ready = DigitalInOut(board.ESP_BUSY)
@@ -57,4 +57,4 @@
5757
wifi.reset()
5858
continue
5959
response = None
60-
time.sleep(15)
60+
time.sleep(15)

0 commit comments

Comments
 (0)