speeduino
speeduino copied to clipboard
Feature request: Add pins A16-A22 to Local Aux tab
Right now you can choose pins up to A15 as aux inputs, even if Teensy is selected as the MCU. The only place where pins above A15 are available now are for fuel/oil pressure. Please add them to the aux input tab too.
If someone wants to try, this should be simple as replacing line 258 in speeduino.ini: #define ANALOG_PIN = "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9", "A10", "A11", "A12", "A13", "A14", "A15", $PIN_16inv, $PIN_16inv, $PIN_16inv
With: #define ANALOG_PIN = "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9", "A10", "A11", "A12", "A13", "A14", "A15", "A16", "A17", "A18", "A19", "A20", "A21", "A22", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", $PIN_16inv, $PIN_16inv
Note that currently TuenrStudio doesn't allow you to add #defines
from within a #if
conditional, so this can't easily be changed based on the project setting. Will have to try and find a workaround for this limitation.