Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed May 11, 2023
1 parent 663172f commit e384a07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/amg88xx_rpi_thermal_cam.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
lcd.fill((0, 0, 0))
pygame.display.update()


# some utility functions
def constrain(val, min_val, max_val):
return min(max_val, max(min_val, val))
Expand All @@ -80,7 +81,6 @@ def map_value(x, in_min, in_max, out_min, out_max):
time.sleep(0.1)

while True:

# read the pixels
pixels = []
for row in sensor.pixels:
Expand Down
1 change: 0 additions & 1 deletion examples/amg88xx_rpi_thermal_cam_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def print_there(console_x, console_y, text, color):

COLOR_RANGE = 1
while True:

# read the pixels
PIXELS = []
for row in SENSOR.pixels:
Expand Down

0 comments on commit e384a07

Please sign in to comment.