These features were meant to be released in the latest update, but I had to push it forward due to some technical issues and bugs.
What is new?
- Added axis calibration menu
- Calibrate rudder axis
- Calibrate toe brake axis
- Calibrate elevator axis
- Calibrate aileron axis
- G1000/G3000/G530 commands combined into one
The rudder calibration was already present in the previous version. I’ve expanded this concept to the other main analog inputs. To make the code more expandable, everything you see is dynamically generated. This ensures that adding other inputs to the calibration menu will be as easy as adding a string.
If you previously had certain settings saved in the old menu, there is a chance this update will reset your calibration. So please have a look if this changed anything for you.
To enable these features, the library is updated as well. Calibrating the axis can be pretty taxing when done solely on a microcontroller. Therefore most calculations have been moved to the connector. The functions only require the pin number of your connected analog component.
//Left brake pin, right brake pin (can be the same) connector.sendSetBrakePot(A2,A2); //Rudder pin connector.sendSetRudderPot(A3); //Yoke pin (aileron, elevator) connector.sendSetYokeAxis(A1, A0);
Like to spice things up? Switching planes on a daily basis? These commands will make your life easier. Instead of binding several buttons depending on the PFD of your plane, I added several combined inputs. A single input that triggers the respective buttons on each Garmin setup. For these changes to take effect, you need to reinstall the WASM module (or replace the events.txt file).
These commands can be executed by calling: connector.send(//COMMAND);
|5000||Outer knob –|
|5001||Outer knob +|
|5002||Inner knob –|
|5003||Inner knob +|