jrsteensen / OpenHornet-Software

Repo for all the software that brings OpenHornet to life!
Other
14 stars 8 forks source link

Update 2A3A1-AMPCD.ino #105

Closed Arribe closed 2 months ago

Arribe commented 2 months ago

Description

The backlighting didn't work on the AMPCD. The controls would randomly become unresponsive.

Reviewed the prior sample code from TonyG, and updated the code to match it closer. I'm pretty sure that the fix was setting the IRQ pin 6 to an output in the setup loop.

The backlighting was fixed by setting the pinmode to output in the setup.

Closes #104

Dependencies

Type of change

Checklist:

How Has This Been Tested?

Description of Testing

Tested in DCS and via console, controls work as expected, and no matter how many times I press them they continue to work. Prior the controls would become unresponsive any where from a few presses to a bunch of presses.

Test Configuration