How do you addres them ... digital have numbers 2-13 and analog ? maybe A1-A8 (mini 04)
0-5 for the inputs. testInput = analogRead(5) works just fine.
Haven't done an analog out yet! I assume, tho, just doing "analogWrite(n)" with "n" being the same number as one of the shared digital pins, should work.
on Mini,
analog pin in analogRead function using 0 to 7 (PORTC.0 to PORTC.5, AN6, AN7)
if define as digital, using 14 to 19, on PORTC.0 to PORTC.5 repectively (no AN6 and AN7 because these pins can't be access as normal I/O, just A/D only)
Worapoht