Data Sheet
! ! ! !
! ! Stop,! ! ! ///<!stop!
! ! Landing,! ! ! ///<!landing!
! ! Reverse,! ! ! ///<!turtle!turn!
! ! ! !
! ! Shot,! ! ! ///<!motion!when!shooting!
! ! UnderAttack,! ! ///<!motion!under!attack!
! ! Square,! ! ! ///<!squa re!flight!
! ! CircleLeft,! ! !!!!!!!!!!!///<!circle!flight(left)!
! ! CircleRight,!! !!!!!!!!!!!///<!circle!flight(right)!
! ! Rotate180,! ! !!!!!!!!!!!///<!rotate!180!degrees!! !
! ! ! !
! ! EndOfType!
! };!
!
!
3.1.1.2.5.#Request#
!
! enum!DataType!
! {!
! ! //!drone!condition! !
! ! Address!=!0x30,! ! ///<!IEEE!address!
! ! State,! ! ! ///<!state(flight!mode,!coordinate,!battery )!
! ! Attitude,! ! ! ///<!attitude(Vector)!
! ! GyroBias,! ! ! ///<!gyro!bias(Vector)!
! ! TrimAll,! ! ! ///<!fine!adjustment!
! ! TrimFlight,! ! !!!!!!!!!!!///<!fine!adju stm en t!in!flight!m od e !
! ! TrimDrive,! ! !!!!!!!!!!!///<!fine!adjustment!in!drive!m od e !
!
! ! //!Sensor!
! ! ImuRawAndAn gle != !0x50,! ///<!IMU!raw!data,!Angle!
! ! Pressure,! ! ! ///<!pressure!sensor!data!
! ! ImageFlow,! ! ! ///<!optical!flow!sensor! !
! ! Button,! ! ! ///<!button!input!
! ! Battery,! ! ! ///<!battery!
! ! Motor,! ! ! ///<!motor!control!input!vales!
! ! Temperature,! ! ///<!temperature!
! };!
!
!
3.1.2.#LedModeBase#
!
LedModeBase!is!a!basic!structure!to!change!various!LED!modes.!
! struct!LedModeBase!
! {!
! ! u8! ! mode;! ! ///<!LED!mode!
! ! u8! ! color;! ! ///<!LED!color!
! ! u8! ! interval;! ! ///<!LED!interval!
! };!
!
3.1.2.1.#mode!
!
! enum!ModeLight!
! {!
! ! None!=!0,!
!
! ! EyeNone!=!0x10,!
! ! EyeHold,! ! ! ///<!hold!color!
! ! EyeMix,! ! ! ///<!change!color!continuously!
! ! EyeFlicker,! ! !!!!!!!!!!!///<!flicker!
! ! EyeFlickerDouble,! ! ///<!flicker!
! ! EyeDimming,! ! ///<!control!brightness!and !dimm ing!
!
! ! ArmNone!=!0x40,!
! ! ArmHold,! ! ! ///<!hold!color!
! ! ArmMix,! ! ! ///<!change!color!continuou sly!