Replies: 3 comments 1 reply
|
Hi there. It should be easy, I am kind of busy at work but will try to have a go next weekend. Will write a follow up comment when I have it ready. |
|
I added 2 new functions, names are self descriptive, they work exactly the same as the byte versions but instead of writing/reading 1 byte, they do 2 bytes: i2cWriteWordData() Haven't done comprehensive testing just ran a quick one on reading, but haven't tried the write one yet. |
|
In the same way, is it possible to add a functions to write/read X amount of bytes to one register by utilizing repeated start ? |
Uh oh!
There was an error while loading. Please reload this page.
First off, thank you for writing this and making this public!
I've very recently switched from raspberry pi (PIGPIO) to Jetson nano for my project which includes a PCA9685 for controlling servos. For that, I am to write by word through ic2 as well as by byte. So my question is, how difficult would it be to write a method to write by word?
All reactions