Skip to content

Commit 9c8baa8

Browse files
committed
Use adafruit-hosted sample JSON URL
1 parent 71a07cc commit 9c8baa8

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
@@ -26,7 +26,7 @@
2626
print("ESP32 SPI webclient test")
2727

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

3131

3232
# 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
@@ -26,7 +26,7 @@
2626
print("Raspberry Pi RP2040 - ESP32 SPI webclient test")
2727

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

3131
# Raspberry Pi RP2040 Pinout
3232
esp32_cs = DigitalInOut(board.GP13)

0 commit comments

Comments
 (0)