Skip to content
Snippets Groups Projects
Commit 68caf887 authored by schneider's avatar schneider
Browse files

change(spo2): Display warning at start

parent ddb872c3
No related branches found
No related tags found
1 merge request!414SpO2 sensor improvements
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment