How to edit the code of the Fly Screen Firmware

Overview

A brief description of how to edit the code for the Fly Screen Firmware.

Code File Location

The main code file can be found in jni/logic/gcodeLogic.cc. Double clicking the file in the IDE will open it up.

Flythings Code
Flythings Code

General Information

There are different timers available to denote how often something is queried. Each one is in milliseconds.

Flythings Code Timers
Flythings Code Timers

On the below example, the ID is set to 0. ID 0, as shown above, is ran every 1000ms or 1s. The serial port is used every second to send M408 to the firmware.

Flythings Code Timers Example
Flythings Code Timers Example
Tags: