import spidev

This commit is contained in:
Merrick Rumel 2022-06-15 16:25:41 -04:00
parent 3579d57bcf
commit 7cbbc278bd
2 changed files with 3 additions and 1 deletions

View file

@ -5,4 +5,5 @@ This repository is still a work in progress. USE AT YOUR OWN RISK.
############# #############
TCAN4550-py 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

View file

@ -1,6 +1,7 @@
import ctypes import ctypes
uint8_t = ctypes.c_uint8 uint8_t = ctypes.c_uint8
uint32_t = ctypes.c_uint32 uint32_t = ctypes.c_uint32
import spidev
class TCAN4550: class TCAN4550: