Skip to content

Commit 9c7ecdc

Browse files
authored
Merge pull request #1022 from SteveClement/examples_placecats
fix: [url] placekitten.com is down, someone created a drop in replacement, placecats.com
2 parents 12b4e79 + 15bdeeb commit 9c7ecdc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

micropython/examples/inky_frame/inky_frame_placekitten.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def status_handler(mode, status, ip):
3434

3535
WIDTH, HEIGHT = graphics.get_bounds()
3636
FILENAME = "/sd/placekitten.jpg"
37-
ENDPOINT = "http://placekitten.com/{0}/{1}"
37+
ENDPOINT = "http://placecats.com/{0}/{1}"
3838

3939

4040
sd_spi = machine.SPI(0, sck=machine.Pin(18, machine.Pin.OUT), mosi=machine.Pin(19, machine.Pin.OUT), miso=machine.Pin(16, machine.Pin.OUT))

micropython/examples/interstate75/75W/placekitten.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
WIDTH = i75.width
2121
HEIGHT = i75.height
2222
FILENAME = "placekitten.jpg"
23-
ENDPOINT = "http://placekitten.com/{0}/{1}"
23+
ENDPOINT = "http://placecats.com/{0}/{1}"
2424

2525
# some colours to draw with
2626
WHITE = graphics.create_pen(255, 255, 255)

micropython/examples/pico_inky/placekitten.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
WIDTH, HEIGHT = graphics.get_bounds()
2222
FILENAME = "placekitten.jpg"
23-
ENDPOINT = "http://placekitten.com/{0}/{1}"
23+
ENDPOINT = "http://placecats.com/{0}/{1}"
2424

2525

2626
def status_handler(mode, status, ip):

0 commit comments

Comments
 (0)