Hello !
I am new on arduino. I am trying to convert the signal from an absolute rotary encoder (ems22a) to a Pixhawk (protocol -I2C). I upload the code attach to this topic on an arduino nano.
This code is working when my USB is plugged to my computer. However, when I boot my pixhawk without the USB link on my arduino, I don't receive the data. The led TX is not solid green. There is only the led power which is laight.
I try also to plug my usb after I boot my pixhawk and it works. The led TX is green. I can remove the link afterward and it works.
It seems like I have to boot the transmission TX with my USB (once the led TX is green it works but I can only light it with the USB link) which is really weird.
Do you know how I can solve the problem ? Is there a problem in my connection or in my program ?
Thank
ems22.ino (2.74 KB)