Now let’s look at some code scripts to learn from and test your Xfly Drone.
Blinking LED
The Xfly Board there are 2 LED named STATUS and ERROR. Let’s manually blink these two LEDs using the following code. Connecting the battery is not essential for this example.
Make sure to turn on the power switch before uploading the code.