pySerial, smbus2, spidev and python-can
Serial ports, I2C, SPI and CAN bus access.
Easy
smbus2.SMBus(1).read_byte_data(0x48, 0x00) reads a register over I2C.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.