Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdr committed May 13, 2024
1 parent b5a040f commit f962c3c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
# Open our PNG File from flash. In this example we're using an image of a cartoon pencil.
# You can use Thonny to transfer PNG Images to your Pico.
png.open_file("pencil_gray.png")

# Horizontally/vertically center the three PNG Images.
png_w = png.get_width()
png_h = png.get_height()

offset_x = (width - png_w * 2) // 2
height_y = (height // 3)
offset_y = (height_y - png_h * 2) // 2
Expand Down

0 comments on commit f962c3c

Please sign in to comment.