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)
|
print("display error:", e)
|
||||||
init_oled()
|
init_oled()
|
||||||
|
|
||||||
|
|
||||||
# Function to draw a circle
|
# Function to draw a circle
|
||||||
def draw_circle(oled, x0, y0, radius, color):
|
def draw_circle(oled, x0, y0, radius, color):
|
||||||
x = radius
|
x = radius
|
||||||
@ -111,6 +112,7 @@ def draw_circle(oled, x0, y0, radius, color):
|
|||||||
x -= 1
|
x -= 1
|
||||||
err += 1 - 2 * x
|
err += 1 - 2 * x
|
||||||
|
|
||||||
|
|
||||||
# Screensaver function with circular wave animation
|
# Screensaver function with circular wave animation
|
||||||
def screensaver():
|
def screensaver():
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user