How to Send Data from Arduino to Pixhawk using i2c?

I a trying to send data from the Arduino uno (slave) to Pixhawk (master). It works fine when the master is my MEGA, but I can’t seem to get my head around on how Pixhawk works. Are there code examples that maybe I can take a look at?

1 Like

Thanks for the suggestion. I’ll try it out. But, just in case it doesn’t work for me, are there any other ways that just use regular i2C without extra libraries to send message from arduino to pixhawk?

not really, the only other way is you would have to emulate an already supported sensor. id you look at the DS18B20 example its done without the library.