Code used to program arduino/raspberry Pi quadcopter