Code formating
This commit is contained in:
parent
c4cbae7f68
commit
67a0def870
@ -90,6 +90,7 @@ def display_message(message, ip_address):
|
||||
print("display error:", e)
|
||||
init_oled()
|
||||
|
||||
|
||||
# Function to draw a circle
|
||||
def draw_circle(oled, x0, y0, radius, color):
|
||||
x = radius
|
||||
@ -111,6 +112,7 @@ def draw_circle(oled, x0, y0, radius, color):
|
||||
x -= 1
|
||||
err += 1 - 2 * x
|
||||
|
||||
|
||||
# Screensaver function with circular wave animation
|
||||
def screensaver():
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user