Skip to main content

controller_clear_screen()

Description#

clears all drawings from the controller screen

Syntax#

controller_clear_screen()
controller_clear_screen(pixel)

Parameters#

pixel: optional parameter that assigns all pixels to either white or black. white is the default value.

Returns#

NONE

Example Code#
Python#
#Python code
from codrone_edu.drone import *
drone = Drone()
drone.pair()
drone.controller_clear_screen()
drone.close()