MobiFlight-Connector
MobiFlight-Connector copied to clipboard
Pins 0 and 1 in Pro Micro cannot be used for output shift register connection
Describe the bug A DM13A led driver chip did not work when the chip Latch CLK and DIN where connected to Arduino Pro Micro pins 2, 1, and 0 respectively. It worked flawlessly if connected to pins 4, 3, and 2.
Steps To Reproduce Steps to reproduce the behavior:
- Wire a DM13A chip as per diagram (no resistor on pin 3 required.
- Connect 16 leds to pins 5 to 20
- Create device config in MFConnector specifying pins 2, 1, and 0 for Latch CLK and DIN
- Create output configs for those 16 leds
- Run Test mode
- See that leds do not turn on in sequence.
- Change wiring to pins 4, 3, and 2
- Change device config
- Run test mode again
- See leds turn on in sequence normally.
Expected behavior Shift register support should work with pin 0 and 1, as these pins are available for general use in a Pro Micro (different from other boards like Mega, Uno and Nano).
Actual behavior Shift register does not work.
Details
- MobiFlight Version: 10.1.4
- FlightSim: Irrelevant
- AddOn: Irrelevant
Additional context None