python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to avoid getting invalid argument when controlling joystick with smbus library
I am trying to control a 5 pin joystick with raspberry pi
the code is attached
however when I run this I get an error
does anyone know how to resolve this issue?
I expected it to show me the position ...
Kumaran Panchakumar
Votes: 0
Answers: 0
TypeError: object with buffer protocol required - trying to write to SMBus
I'm using a raspberry pi pico to read data from a SHT3x sensor using the I2C protocol. I'm quite new to (micro)python so I used this example. This example is for a regular Raspberry Pi since I didn't ...

Bas de Jong
Votes: 0
Answers: 1
How to perform a 256 byte block read with i2c/smbus
I've got this power monitor that I'm attempting to interface with to retrieve it's fault log LTC2977 (data sheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2977.pdf)
I'm n...
dazed_and_confused
Votes: 0
Answers: 1
How can I get i2c values from a Rapsberry with Python?
I use an ads1115 to get values from an analogic sensor to a raspberry pi 3 but I'm having a hard time figuring out how to get them from python.
I use the SMBus library to get the i2c values but I can'...
Erwan Bertrand
Votes: 0
Answers: 1