From 7cbbc278bd60667ff6ad89215f34f05e74ded538 Mon Sep 17 00:00:00 2001 From: Merrick Rumel Date: Wed, 15 Jun 2022 16:25:41 -0400 Subject: [PATCH] import spidev --- README.rst | 3 ++- src/TCAN4550-py/tcan4550.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 10d5240..de3fc8c 100644 --- a/README.rst +++ b/README.rst @@ -5,4 +5,5 @@ This repository is still a work in progress. USE AT YOUR OWN RISK. ############# TCAN4550-py ############# - This repository is to provide methods to easily control the TCAN4550 from Texas Instruments + This repository is to provide methods to easily control the TCAN4550 from Texas Instruments on a Raspberry Pi using SpiDev + diff --git a/src/TCAN4550-py/tcan4550.py b/src/TCAN4550-py/tcan4550.py index 89bd607..9e19cf3 100644 --- a/src/TCAN4550-py/tcan4550.py +++ b/src/TCAN4550-py/tcan4550.py @@ -1,6 +1,7 @@ import ctypes uint8_t = ctypes.c_uint8 uint32_t = ctypes.c_uint32 +import spidev class TCAN4550: