Skip to content

Commit

Permalink
Merge pull request #1022 from SteveClement/examples_placecats
Browse files Browse the repository at this point in the history
fix: [url] placekitten.com is down, someone created a drop in replacement, placecats.com
  • Loading branch information
Gadgetoid authored Oct 31, 2024
2 parents 12b4e79 + 15bdeeb commit 9c7ecdc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion micropython/examples/inky_frame/inky_frame_placekitten.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def status_handler(mode, status, ip):

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


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))
Expand Down
2 changes: 1 addition & 1 deletion micropython/examples/interstate75/75W/placekitten.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
WIDTH = i75.width
HEIGHT = i75.height
FILENAME = "placekitten.jpg"
ENDPOINT = "http://placekitten.com/{0}/{1}"
ENDPOINT = "http://placecats.com/{0}/{1}"

# some colours to draw with
WHITE = graphics.create_pen(255, 255, 255)
Expand Down
2 changes: 1 addition & 1 deletion micropython/examples/pico_inky/placekitten.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

WIDTH, HEIGHT = graphics.get_bounds()
FILENAME = "placekitten.jpg"
ENDPOINT = "http://placekitten.com/{0}/{1}"
ENDPOINT = "http://placecats.com/{0}/{1}"


def status_handler(mode, status, ip):
Expand Down

0 comments on commit 9c7ecdc

Please sign in to comment.