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.
Tip: This assumes the Flythings IDE has been setup as detailed in the Compiling instructions
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.
General Information
There are different timers available to denote how often something is queried. Each one is in milliseconds.
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.