rotate180()

Description

This function makes the drone rotate 180 degrees. Only rotates in a random direction, because this is a pre-set flight event in the firmware.

Syntax

rotate180()

Parameters

None

Returns

None

Example Code
Python
#Python code
import CoDrone

def main():
    drone = CoDrone.CoDrone()
    drone.pair()

    drone.takeoff()
    drone.rotate180()

if __name__ == '__main__':
    main()
Arduino
//not yet