File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 2727"""
2828
2929# imports
30+ import struct
3031import time
32+
3133from digitalio import Direction
3234from adafruit_bus_device import spi_device
3335import adafruit_ra8875 .registers as reg
3436
35- try :
36- import struct
37- except ImportError :
38- import ustruct as struct
39-
4037__version__ = "0.0.0-auto.0"
4138__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RA8875.git"
4239
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: MIT
33
44# Quick bitmap test of RA8875 with Feather M4
5+ import struct
6+
57import busio
68import digitalio
79import board
810
911from adafruit_ra8875 import ra8875
1012from adafruit_ra8875 .ra8875 import color565
1113
12- try :
13- import struct
14- except ImportError :
15- import ustruct as struct
16-
1714WHITE = color565 (255 , 255 , 255 )
1815
1916# Configuration for CS and RST pins:
You can’t perform that action at this time.
0 commit comments