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: