Skip to content

Remove obsolete references to ustruct #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions adafruit_ra8875/ra8875.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,13 @@
"""

# imports
import struct
import time

from digitalio import Direction
from adafruit_bus_device import spi_device
import adafruit_ra8875.registers as reg

try:
import struct
except ImportError:
import ustruct as struct

__version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RA8875.git"

Expand Down
7 changes: 2 additions & 5 deletions examples/ra8875_bmptest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@
# SPDX-License-Identifier: MIT

# Quick bitmap test of RA8875 with Feather M4
import struct

import busio
import digitalio
import board

from adafruit_ra8875 import ra8875
from adafruit_ra8875.ra8875 import color565

try:
import struct
except ImportError:
import ustruct as struct

WHITE = color565(255, 255, 255)

# Configuration for CS and RST pins:
Expand Down