Hallo

Übrigends sind die ADC-Ports natürlich auch digitale Ports. Man kann sie also auch digital abfragen:

if(PINA & 1) ... // ADC0
if(PINA & 2) ... // ADC1

Zusätzliche "freie" digitale Ports wären noch die 4 LEDs (die keine Bumpers haben) und SCL/SDA des I2C am XBUS. Die haben allerdings je einen PullUp. E-INT am XBUS ist noch ein zusätzlich nutzbarer ADC-Port:

https://www.roboternetz.de/phpBB2/ze...=348695#348695
https://www.roboternetz.de/phpBB2/viewtopic.php?t=32677

Gruß

mic