AR Parrot Drone Movement icon AR Parrot Drone Movement — Control Parrot AR Drone v1/v2 via ARC: keyboard, joystick, speech, Wii, web; camera feed, face/color/motion/glyph tracking. Try it →
 

Setrandom

Digital.setRandom(port, [ezbIndex])

Parameters

port Digital port to set the value of.
ezbIndex (optional) Board index of the EZB to use.

Returns

The random value that the digital port was set to.

Description

Randomly sets the value of the specified digital port to either 0 or 1.