Skip to content

First official MCCI version

Compare
Choose a tag to compare
@terrillmoore terrillmoore released this 21 Apr 12:11
· 9 commits to master since this release
  • Added fix for issue 234.

  • SoftwareSerial::flush() no longer empties the RX queue. Since there is no TX queue with this library, this API does nothing.

  • SoftwareSerial::begin(unsigned long speed) matches modern APIs for UART -- the old SoftwareSerial::begin(long speed) maps to the new API.

  • Added SoftwareSerial::begin(unsigned long speed, uint16_t config). This is currently only for compatibility with UART; the config is not yet used.

  • Added SoftwareSerial::drainRead() to do what flush() used to do, in case you are not happy with the recommended while (mySerial.read() >= 0) /* spin */; work-around.