File tree 3 files changed +3
-23
lines changed
3 files changed +3
-23
lines changed Original file line number Diff line number Diff line change 11
11
12
12
import board
13
13
import displayio
14
-
15
- # Compatibility with both CircuitPython 8.x.x and 9.x.x.
16
- # Remove after 8.x.x is no longer a supported release.
17
- try :
18
- from i2cdisplaybus import I2CDisplayBus
19
- except ImportError :
20
- from displayio import I2CDisplay as I2CDisplayBus
14
+ from i2cdisplaybus import I2CDisplayBus
21
15
22
16
import adafruit_displayio_sh1107
23
17
Original file line number Diff line number Diff line change 13
13
14
14
import board
15
15
import displayio
16
-
17
- # Compatibility with both CircuitPython 8.x.x and 9.x.x.
18
- # Remove after 8.x.x is no longer a supported release.
19
- try :
20
- from i2cdisplaybus import I2CDisplayBus
21
- except ImportError :
22
- from displayio import I2CDisplay as I2CDisplayBus
23
-
24
16
import terminalio
25
17
26
18
# can try import bitmap_label below for alternative
27
19
from adafruit_display_text import label
20
+ from i2cdisplaybus import I2CDisplayBus
28
21
29
22
import adafruit_displayio_sh1107
30
23
Original file line number Diff line number Diff line change 10
10
11
11
import board
12
12
import displayio
13
-
14
- # Compatibility with both CircuitPython 8.x.x and 9.x.x.
15
- # Remove after 8.x.x is no longer a supported release.
16
- try :
17
- from i2cdisplaybus import I2CDisplayBus
18
- except ImportError :
19
- from displayio import I2CDisplay as I2CDisplayBus
20
-
21
13
import terminalio
22
14
23
15
# can try import bitmap_label below for alternative
24
16
from adafruit_display_text import label
17
+ from i2cdisplaybus import I2CDisplayBus
25
18
26
19
import adafruit_displayio_sh1107
27
20
You can’t perform that action at this time.
0 commit comments