eye_off() / eyeOff()

Description

This function turns off the eye LEDs

Syntax

Python:
eye_off()

Arduino:
eyeOff()

Parameters

None

Returns

None

Example Code
Python
#Python code
import CoDrone

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

    # turn off the eyes
    drone.eye_off()

if __name__ == '__main__':
    main()
Arduino
//Arduino code
#include<CoDrone.h>     //header

void setup(){
//open serial and connect
    CoDrone.begin(115200);
    CoDrone.pair(Nearest);

    // turn off the eyes
    CoDrone.eyeOff();
}

void loop(){

}