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 a2c5a85 commit 9d3d993Copy full SHA for 9d3d993
examples/espatcontrol_post.py
@@ -16,11 +16,21 @@
16
17
URL = "https://io.adafruit.com/api/v2/webhooks/feed/"+settings['aio_feed_webhook']+"?value="
18
19
+# With a Metro or Feather M4
20
resetpin = DigitalInOut(board.D5)
21
rtspin = DigitalInOut(board.D9)
22
uart = busio.UART(board.TX, board.RX, timeout=0.1)
23
-
24
+# With a Particle Argon
25
+# RX = board.ESP_TX
26
+# TX = board.ESP_RX
27
+# resetpin = DigitalInOut(board.ESP_WIFI_EN)
28
+# rtspin = DigitalInOut(board.ESP_CTS)
29
+# uart = busio.UART(TX, RX, timeout=0.1)
30
+# esp_boot = DigitalInOut(board.ESP_BOOT_MODE)
31
+# from digitalio import Direction
32
+# esp_boot.direction = Direction.OUTPUT
33
+# esp_boot.value = True
34
35
print("Post to a URL", URL)
36
0 commit comments