diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/display/ssd1306.py | 1 | ||||
-rw-r--r-- | drivers/nrf24l01/nrf24l01.py | 1 | ||||
-rw-r--r-- | drivers/sdcard/sdcard.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/display/ssd1306.py b/drivers/display/ssd1306.py index 34dca769e9..ad57725e74 100644 --- a/drivers/display/ssd1306.py +++ b/drivers/display/ssd1306.py @@ -1,5 +1,6 @@ # MicroPython SSD1306 OLED driver, I2C and SPI interfaces +from micropython import const import time import framebuf diff --git a/drivers/nrf24l01/nrf24l01.py b/drivers/nrf24l01/nrf24l01.py index a244b0b25d..3c79650bf0 100644 --- a/drivers/nrf24l01/nrf24l01.py +++ b/drivers/nrf24l01/nrf24l01.py @@ -1,6 +1,7 @@ """NRF24L01 driver for Micro Python """ +from micropython import const import pyb # nRF24L01+ registers diff --git a/drivers/sdcard/sdcard.py b/drivers/sdcard/sdcard.py index fc7a8af7c5..191630aebd 100644 --- a/drivers/sdcard/sdcard.py +++ b/drivers/sdcard/sdcard.py @@ -21,6 +21,7 @@ Example usage on ESP8266: """ +from micropython import const import time |