Control software for a quadcopter motor controller