@ladyada and @tatien: May I ask why AFSoftwareSerial seems to support only pins 0-13 (and not 14-19 -- the ones marked "analog in")?
if (_receivePin < 8) {
// a PIND pin, PCINT16-23
PCMSK2 |= _BV(_receivePin);
PCICR |= _BV(2);
} else if (_receivePin <= 13) {
// a PINB pin, PCINT0-5
PCICR |= _BV(0);
PCMSK0 |= _BV(_receivePin-8);
}
@tatien: Can you explain why all instances of your modified AFSoftwareSerial must share the same baud rate? Is there a physical reason for that, or is it just a matter of convenience?
Thank you,
Mikal