How do I control esc with a reciver

Hi!

I am new to arduino and I am currently on a project where I want to control a drone with several chips. I am having a hard time figuring out how I control motors with a NRF24L01 reciver, I will upload my sketch below. Thanks beforehand!

Best regards Max

Why re-invent the wheel when it has been done many times.
One such series of videos starting here...........

Pins A6 and A7 will not work as I2C pins. A6 and A7 are analog inputs only. A4 and A5 are the I2C bus pins. I2C is a bus so the MPU6050 and the BMP280 would both connect to A4 and A5.

Your connections to the NRF24l01 are not right either. You must connect SCK, MOSI, MISO, CE and CSN plus 3.3V and ground. See Robin2's simple rf24 tutorial for lots of good information. Simple nRF24L01+ 2.4GHz transceiver demo - Exhibition / Gallery - Arduino Forum

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.