最終更新:2010-02-05 (金) 02:31:45 (5194d)
Arduino/NewSoftSerial
an improved version of the SoftwareSerial library
http://arduiniana.org/libraries/newsoftserial/
Improvements
NewSoftSerial offers a number of improvements over SoftwareSerial:
- It inherits from built-in class Print, eliminating some 4-600 bytes of duplicate code
- It implements circular buffering scheme to make RX processing more efficient
- It extends support to all Arduino pins 0-19 (0-21 on Arduino Mini), not just 0-13
- It supports multiple simultaneous soft serial devices.*
- It supports a much wider range of baud rates.**
- It provides a boolean overflow() method to detect buffer overflow.
- Higher baud rates have been tuned for better accuracy.
- It supports the ATMega328 and 168.
- It supports 8MHz processors.
- It uses direct port I/O for faster and more precise operation.
- (New with version 10). It supports software signal inversion.
- (New) It supports 20MHz processors.
- (New) It runs on the Teensy and Teensy++?.
- (New) It supports an end() method as a complement to begin().