]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - python/board/__init__.py
Fail hard when board cannot be determined. Feather Huzzah Red LED is inverted. Typo...
[Adafruit_Blinka-hackapet.git] / python / board / __init__.py
index f41e27d95b7ef7ceb7ea1b215fbc27ea63ab7cc3..b5d65c7fb960621a6cf4048fe93a4ae572fd22d1 100644 (file)
@@ -43,3 +43,5 @@ elif board == "nodemcu":
     from board.nodemcu import *
 elif board == "pyboard":
     from board.pyboard import *
     from board.nodemcu import *
 elif board == "pyboard":
     from board.pyboard import *
+else:
+    raise NotImplementedError("Board not supported")
\ No newline at end of file