Skip to content

Commit

Permalink
DM: fix imports for cirpy 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm1278 committed May 7, 2018
1 parent b8e712d commit 45fadc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adafruit_seesaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@

import time

import struct
try:
import struct
except ImportError:
import ustruct as struct
from micropython import const
from adafruit_bus_device.i2c_device import I2CDevice
import digitalio
Expand Down

0 comments on commit 45fadc8

Please sign in to comment.