Commit 68caf887 authored by schneider's avatar schneider
Browse files

change(spo2): Display warning at start

parent ddb872c3
......@@ -144,6 +144,16 @@ class SPO2:
if __name__ == "__main__":
disp = display.open()
disp.clear()
disp.print("ATTENTION:", posy=0)
disp.print("DEMO ONLY!", posy=20, fg=color.RED)
disp.print("RESULTS ARE", posy=40)
disp.print("WRONG!", posy=60, fg=color.RED)
disp.update()
time.sleep(5)
sensor = SPO2()
try:
sensor.open()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment