I2C Work, difficulties to understand how it work on zuno

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
TheRafal
Posts: 16
Joined: 30 Aug 2020 11:01

I2C Work, difficulties to understand how it work on zuno

Post by TheRafal »

Hi,i'm trying to get values from a slave arduino (ex: 45166667) by I2C bus but i can't get it work... I've tryed the exact script i've found here https://thewanderingengineer.com/2015/0 ... duino-i2c/ , the 32-bits one, but the value i get is not what i send... i've the same problem with an Adafruit gyro, who use the bitwise to get values. I can't get the good values and because i've difficult to understand how bytes and i2c work, i spend time for nothing...
Could some can explain me what's going wrong ??

It's like z-uno doesn't understand bitwise the same way like arduino...

Thank you
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: I2C Work, difficulties to understand how it work on zuno

Post by PoltoS »

You are better to look on the I2C based examples on Z-Uno site:
https://z-uno.z-wave.me/examples/mcp230 ... -expander/
TheRafal
Posts: 16
Joined: 30 Aug 2020 11:01

Re: I2C Work, difficulties to understand how it work on zuno

Post by TheRafal »

I've solved my problem by setting the Stop boolean from requestFrom to false !
Post Reply