This feature enables the backlight of the Left Console panels to work with DCS Bios. Both Channel 1 (7 panels) and Channel 2 (6 panels) are included in the code. It listens to DCS Bios ConsoleIntLt status and turns the panel backlights on/off. The backlight mode encoder on the SIM Power panel works to dim the panel backlights as well as the Sim console backlights. It was tested working with other functions that are closely related such as the instrument lights. This is a PoC for the side consoles backlight to test behaviour and add additional functionalities.
Closes # N/A
Dependencies
Adafruit NeoPixel.
Type of change
[ ] New software module (new software module for slave)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update outside of the automatically-generated Doxygen documentation.
[x] I have tested the sketch in-circuit in DCS with DCS-BIOS and outputs (displays, LEDs, etc.) function as expected.
[x] I have tested the sketch in-circuit in DCS with DCS-BIOS and HID inputs (switches, pots, etc.) function as expected, with switches moving the correct direction.
[ ] I have tested the sketch in-circuit in DCS with DCS-BIOS and any logic in the sketch has been tested and functions as expected.
[ ] This code has not yet been tested in-circuit.
[ ] This code has not yet been tested in DCS-BIOS.
Description of Testing
Connect ABSIS Backlight Controller to Arduino Mega
Connect Arduino Mega to IDE and upload the sketch
Connect the LC Panels to the ABSIS Backlight Controller as per the Interconnect (Channels 1 and 2)
Run DCS and make sure that the Arduino Mega port is open in DCS-BIOS Bridge
Start a mission in DCS
Test 1: Load the F/A 18C Hornet
Expected Result: The panel backlights are initiated in the off position
Test 2: Turn the Console Lt Dimmer up while cold and dark
Expected Result: Console backlights stay off
Test 3: Set the dimmer to half and press Win+Home, wait for the first engine to start
Expected Result: The console backlights should turn on and sync once one of the engines comes live and the panel backlights in the sim turn on
Test 4: Change the Console Lt Dimmer in the sim
Expected Result: the panels brightness should change accordingly
Test 5: Change the LT Mode encoder on the SIM Power panel
Expected Result: The Console Lt Dimmer should change accordingly and at the same rate (i.e. completes full turn at the same time the encoder completes the turn)
Test 6: Turn off the engines
Expected Result: The panel backlights should turn off as a result of losing power
Test 7: Toggle SIM Power Switch off
Expected Result: All panel backlights should turn off
IMPORTANT: Use Skunkworks's DCS_BIOS for the BL code to work
Description
This feature enables the backlight of the Left Console panels to work with DCS Bios. Both Channel 1 (7 panels) and Channel 2 (6 panels) are included in the code. It listens to DCS Bios ConsoleIntLt status and turns the panel backlights on/off. The backlight mode encoder on the SIM Power panel works to dim the panel backlights as well as the Sim console backlights. It was tested working with other functions that are closely related such as the instrument lights. This is a PoC for the side consoles backlight to test behaviour and add additional functionalities.
Closes # N/A
Dependencies
Type of change
Checklist:
How Has This Been Tested?
Description of Testing
Test Configuration