Skip to content

Commit 2ddf9fa

Browse files
authored
Merge pull request #217 from dhalbert/json-url
Use adafruit-hosted sample JSON URL
2 parents 4d0a107 + 9c8baa8 commit 2ddf9fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/esp32spi_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print("ESP32 SPI webclient test")
1818

1919
TEXT_URL = "http://wifitest.adafruit.com/testwifi/index.html"
20-
JSON_URL = "http://api.coindesk.com/v1/bpi/currentprice/USD.json"
20+
JSON_URL = "http://wifitest.adafruit.com/testwifi/sample.json"
2121

2222

2323
# If you are using a board with pre-defined ESP32 Pins:

examples/esp32spi_simpletest_rp2040.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print("Raspberry Pi RP2040 - ESP32 SPI webclient test")
1818

1919
TEXT_URL = "http://wifitest.adafruit.com/testwifi/index.html"
20-
JSON_URL = "http://api.coindesk.com/v1/bpi/currentprice/USD.json"
20+
JSON_URL = "http://wifitest.adafruit.com/testwifi/sample.json"
2121

2222
# Raspberry Pi RP2040 Pinout
2323
esp32_cs = DigitalInOut(board.GP13)

0 commit comments

Comments
 (0)