Quadcopter programing ???

am working on quadcopter
this is my code


and according to this code i design this circuit

if i connect all components like shown in above photo and upload above code to arduino uno , my quadcopter will work ???

code.txt (9.15 KB)

this is my code

All of it?

my quadcopter will work ???

Of course not!!!

what should i do to make it work ??

   // FIVE FUCKING INTERRUPTS !!!
   PCintPort::attachInterrupt(RC_1, rcInterrupt1, CHANGE);
   PCintPort::attachInterrupt(RC_2, rcInterrupt2, CHANGE);
   PCintPort::attachInterrupt(RC_3, rcInterrupt3, CHANGE);
   PCintPort::attachInterrupt(RC_4, rcInterrupt4, CHANGE);
   PCintPort::attachInterrupt(RC_5, rcInterrupt5, CHANGE);

It's nice to see that informative and helpful comments have been included in the code. It is a pity, however, that the Uno only has 2 hardware interrupts available and that none of them are on the pins defined in the code

 #define RC_1 13
 #define RC_2 12 
 #define RC_3 11
 #define RC_4 10
 #define RC_5 8

It is a pity, however, that the Uno only has 2 hardware interrupts available and that none of them are on the pins defined in the code

Those are pin change interrupts. On the Uno, all pins support pin change interrupts.

Understood.

Incidentally, this is the first time that I have come across the forum software’s automatic post changing feature that substitutes words in posts. In this case the word procreating was not in the code that I copied into the post.

Incidentally, this is the first time that I have come across the forum software's automatic post changing feature that substitutes words in posts

It used to say "diddling"
It's the reason some less imaginative spammers manage to advise us to "BUY ONLY GENUINE ARDUINO BOARDS FROM APPROVED SUPPLIERS" , and in some lovely cases, introduce their own posts as SPAM SPAM SPAM.
(It's also the reason some Indian charlatans invite us the pray to Kylie Minogue or the Duchess of Cambridge) ]:smiley:

Sometimes, being a moderator can be fun.