diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-11-03 12:41:11 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-11-03 12:41:11 +1100 |
| commit | 7bb0f7b0f6218e813ca1ea9a21d5d549c7b36ab9 (patch) | |
| tree | 4adf5c1a592d003b84aa9706aa0fced9f41442ed /drivers/display/ssd1306.py | |
| parent | 561844f3ba2dc81ce37c58468099042e27cd422b (diff) | |
drivers: Add "from micropython import const" when const is used.
Following best-practice use of the const feature, to make it compatible
with Python.
Diffstat (limited to 'drivers/display/ssd1306.py')
| -rw-r--r-- | drivers/display/ssd1306.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/display/ssd1306.py b/drivers/display/ssd1306.py index 34dca769e..ad57725e7 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 |
