Added support for Arduinos with multiple serial ports (eg. Arduino Mega)

Only tried sendData(), though the rest should be working too.