maybe you can check the BMSAIT Project from my Squadmate Hummer
Falcon BMS to Arduino Interface Tool
BMSAIT ist an interface tool for cockpit builders. It allows to relay output data from the shared memory of Falcon BMS to output devices like LED, LCD, Servo motors and many others. BMSAIT also allows to register input commands from digital and analog sources like switches, encoders and potentiometers to simulate keyboard and joystick commands that will be send to Falcon BMS.
In order to establish a data transfer via BMSAIT a specific arduino sketch needs to be customized and loaded on an arduino compatible board. A windows app will orchestrate the communication between the arduino boards and the flight simulation.