Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Sketch 5A7A1-SNSR_PANEL.ino #87

Closed

Conversation

Arribe
Copy link
Collaborator

@Arribe Arribe commented Mar 11, 2024

Description

New sketch for the 5A7A1-SNSR_PANEL.ino. Not a simple sketch to create due to a variety of reasons. Primarily not hooking up the off pins on the rotary led to excessive logic.

DCSBios does not cleanly support the LTD/R mag-switch logic to match the sim's native behavior.

Closes #57

Dependencies

  • List any dependencies that are required for this change, including a full list of libraries required, especially if it is a new or otherwise unused library in the OpenHornet software.

Type of change

  • New software module (new software module for slave)
  • [] Bug fix (non-breaking change which fixes an issue)
  • [] 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.

Checklist:

  • My code follows the style guidelines of this project
  • I have complied with the software manual for this project
  • I have performed a self-review of my own code
  • I have commented my code fully with Doxygen compatible comments, particularly in hard-to-understand areas
  • I have made corresponding changes to non-Doxygen generated documentation
  • I have ran Doxygen locally, and it builds the docs successfully
  • My changes generate no errors on compile in Arduino IDE
  • My changes generate no new warnings on compile in Arduino IDE
  • Any dependent changes have been merged and published in downstream modules
  • (For sketches only) This sketch complies with OH-INTERCONNECT v10
  • If this sketch requires additional libraries, I have added it as a sub-module per the Arduino Libraries section of the Software Manual.

How Has This Been Tested?

  • I have tested the sketch in-circuit in DCS with DCS-BIOS and outputs (displays, LEDs, etc.) function as expected.
  • 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 mostly as expected.
  • This code has not yet been tested in-circuit.
  • This code has not yet been tested in DCS-BIOS.

Description of Testing

Meh...it is what it is...

Loaded the sketch tested all of the basic switches, and the rotaries. Everything that is connected to a physical pin on the Arduino works fin. The off positions on the rotaries are hit or miss.

DCSBios limitations lead to limited ability to match the sim's mag-switch logic.

Test Configuration

  • Firmware version:
  • Hardware: OH 0.2.0
  • Toolchain:
  • SDK: DCSBios FP 0.3.9

@Arribe Arribe closed this Mar 12, 2024
@Ben-F111
Copy link

see DCS-Skunkworks/dcs-bios#856

for a NEW Output from the BIOS to HOLD the LDT/R Mag SW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants