SlashDevin / NeoSWSerial

Efficient alternative to SoftwareSerial with attachInterrupt for RX chars, simultaneous RX & TX
169 stars 42 forks source link

Added way to use NeoSWSerial together with PCINT handlers #10

Closed dionorgua closed 7 years ago

dionorgua commented 7 years ago

Hi,

I've found that it's currently impossible to use NeoSWSerial together with own PCINT handlers, even if my handler is for completly different AVR port.

I propose to merge followed change. It just disables built-in PCINT handlers and assumes that end-user will declare own PCINT handler for pin used for RX and call NeoSWSerial::rxISR() from it.

SlashDevin commented 7 years ago

Thanks, nice contributions!

dionorgua commented 7 years ago

Thanks a lot!