Hello I have built a transmitter and a drone with a receiver with a flightcontroller and I am trying to get a connection with this code between them to be able to fly the drone
The remote and receiver code is attached cause the post became too long to be able to post.
Any idea to what might cause it not to work? Any help is much appreciated!
Thanks!
What are you getting on the serial output? Do you see "Initializing I2C devices..." and "Testing device connections..." and "MPU6050 connection successful"? What else shows up?
"I have with much simpler code and it works but with this one I just dont get it to work. "
which you might share here, please.
Go back to code that worked, and look to see if the code you are failing with uses the radios in the same exact manner.
How do you even know you are not "get[ting] anything" from the remote? How can you try to deduce whether it is the remote transmitter or the receiver where you are failing?