Sirleech/NewSoftSerial: Forked For Version Control On GIT - GitHub

Skip to content Dismiss alert {{ message }} / NewSoftSerial Public
  • Notifications You must be signed in to change notification settings
  • Fork 12
  • Star 15

Forked for version control on GIT

arduiniana.org/libraries/newsoftserial/ 15 stars 12 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings
  • Code
  • Issues 2
  • Pull requests
  • Actions
  • Projects
  • Wiki
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options sirleech/NewSoftSerial  masterBranchesTagsGo to fileCode

Folders and files

NameNameLast commit messageLast commit date

Latest commit

 

History

2 Commits
ExamplesExamples  
NewSoftSerial.cppNewSoftSerial.cpp  
NewSoftSerial.hNewSoftSerial.h  
keywords.txtkeywords.txt  
readmereadme  
View all files

Repository files navigation

  • README
#A New Software Serial Library for Arduino Forked from http://arduiniana.org/libraries/newsoftserial/ NewSoftSerial is the latest of three Arduino libraries providing “soft” serial port support. It’s the direct descendant of ladyada’s AFSoftSerial, which introduced interrupt-driven receives – a dramatic improvement over the polling required by the native SoftwareSerial. Without interrupts, your program’s design is considerably restricted, as it must continually poll the serial port at very short, regular intervals. This makes it nearly impossible, for example, to use SoftwareSerial to receive GPS data and parse it into a usable form. Your program is too busy trying to keep up with NMEA characters as they arrive to actually spend time assembling them into something meaningful. This is where AFSoftSerial’s (and NewSoftSerial’s) interrupt architecture is a godsend. Using interrupt-driven RX, your program fills its buffer behind the scenes while processing previously received data. ##Change Log 1. initial version 2. ported to Arduino 0013, included example sketch in package 3. several important improvements: (a) support for 300, 1200, 14400, and 28800 baud (see caveats), (b) added bool overflow() method to test whether an RX buffer overflow has occurred, and (c) tuned RX and TX for greater accuracy at high baud rates 38.4K, 57.6K, and 115.2K. 4. minor bug fixes — add .o file and objdump.txt to zip file for diagnostics. 5. etracer’s inline assembler fix to OSX avr-gcc 4.3.0 interrupt handler bug added. 6. ladyada’s new example sketch, fix to interrupt name, support for 328p. 7. etracer’s workaround is now conditionally compiled only when avr-gcc’s version is less than 4.3.2. 8. 8 MHz support and flush() and enable_timer0() methods added 9. digitalread/write scrapped in favor of direct port I/O. Revised routines now get perfect RX up to 57.6K on 16MHz processors and 31.25K on 8MHz processors. 10. inverted TTL signalling supported. 20MHz processors supported. Teensy and Teensy++ supported. New end() method and destructor added to clean up.

About

Forked for version control on GIT

arduiniana.org/libraries/newsoftserial/

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

15 stars

Watchers

3 watching

Forks

12 forks Report repository

Releases

No releases published

Packages

No packages published

Languages

  • C++ 76.5%
  • C 18.3%
  • Java 5.2%
You can’t perform that action at this time.

Tag » Arduino Newsoftserial.h