Closed gutierrezps closed 5 years ago
Following issue #6 here's a fix I've come up with, with minimal changes to the library.
I added a method begin() that takes a Stream object as a parameter, and the matching minimal working example, altsoftserial.ino. Here's an excerpt:
begin()
altsoftserial.ino
#include <AltSoftSerial.h> #include <rdm6300.h> AltSoftSerial rfidSerial; Rdm6300 rdm6300; void setup() { Serial.begin(115200); rfidSerial.begin(RDM6300_BAUDRATE); rdm6300.begin(&rfidSerial); } ...
I have just pushed my fix and saw this PR, Great minds think alike....
Following issue #6 here's a fix I've come up with, with minimal changes to the library.
I added a method
begin()
that takes a Stream object as a parameter, and the matching minimal working example,altsoftserial.ino
. Here's an excerpt: