-from microcontroller.esp8266 import pin
+from adafruit_blinka.microcontroller.esp8266 import pin
# TODO need equiv of INPUT_PULL_DOWN_16 ? see https://tttapa.github.io/ESP8266/Chap04%20-%20Microcontroller.html
-GPIO0=pin.GPIO0
-GPIO1=pin.GPIO1
-GPIO2=pin.GPIO2
-GPIO3=pin.GPIO3
-GPIO4=pin.GPIO4
-GPIO5=pin.GPIO5
-GPIO12=pin.GPIO12
-GPIO13=pin.GPIO13
-GPIO14=pin.GPIO14
-GPIO15=pin.GPIO15
-GPIO16=pin.GPIO16
+GPIO0= pin.GPIO0
+GPIO1= pin.GPIO1
+GPIO2= pin.GPIO2
+GPIO3= pin.GPIO3
+GPIO4= pin.GPIO4
+GPIO5= pin.GPIO5
+GPIO12= pin.GPIO12
+GPIO13= pin.GPIO13
+GPIO14= pin.GPIO14
+GPIO15= pin.GPIO15
+GPIO16= pin.GPIO16
-ADC=pin.TOUT
+ADC= pin.TOUT
MISO=GPIO12
MOSI=GPIO13
"""
import gc
-import sys
+
gc.collect()
-from agnostic import board
+from adafruit_blinka.agnostic import board
gc.collect()
__version__ = "0.0.0-auto.0"
if board == "feather_huzzah":
- from board.feather_huzzah import *
+ pass
elif board == "feather_m0_express":
- from board.feather_m0_express import *
+ pass
elif board == "nodemcu":
- from board.nodemcu import *
+ pass
elif board == "pyboard":
- from board.pyboard import *
+ pass
else:
raise NotImplementedError("Board not supported")
gc.collect()
\ No newline at end of file