python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
can data from a sensor be read in a function
I am using the icm 20948 sensor, programming on MPLABx running harmonyV3.i2c is communication mode. Can I read and write in a function, does it have to be in a while loop?
For example would:
while(SER...
Oluwatoni Bodunrin
Votes: 0
Answers: 0
I'm getting undefined reference to `i2c_smbus_read_word_data and 'extern "C"' doesn't fix it
I'm getting the error undefined reference to i2c_smbus_read_word_data(int, unsigned char)`
I've tried wrapping a few of my libraries in extern "C" but I get the same error. I tried this afte...
Ant
Votes: 0
Answers: 1
i2cdetect shows unknown addresses and addresses don't change when new I2C device plugged in. What are these addresses?
How do I know which I2C is an actual I2C device and what are these addresses?
My system/ my computer is an Nvidia Jetson AGX Xavier and I have no I2C devices plugged in to it at the time I am running ...
Ant
Votes: 0
Answers: 0
How can I read two bytes from two Registers in a Device within i2c?
Currently - I am following the below steps to read multiple bytes from multiple registers -
Make a START sequence
Send 1010XXX0, where XXX is the direction of the IC to use, wait for ACK
Send the low...
exterminator
Votes: 0
Answers: 1