From f608a7199bf55e3469ae5095a3f001f41000f630 Mon Sep 17 00:00:00 2001 From: jbruce Date: Thu, 3 Nov 2022 06:07:10 -0900 Subject: [PATCH] check blinka board or exit --- test-output.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test-output.py b/test-output.py index 4d34b8e..3c9ea1a 100755 --- a/test-output.py +++ b/test-output.py @@ -8,8 +8,9 @@ import datetime try: import board except NotImplementedError: - print("not running on Raspberry PI, assuming simulation") - + print("not running a recognized blinka board, exiting...") + import sys + sys.exit() ######################################################################## #