Modified for compatibility with Android. Not yet tested
Added Keyboard Interrupt and System exit handling for interactive use of pyFirmata Iterator