PaulStoffregen / AltSoftSerial

Software emulated serial using hardware timers for improved compatibility
http://www.pjrc.com/teensy/td_libs_AltSoftSerial.html
334 stars 131 forks source link

Example Code to dump AltSerialSteup setup for your board #28

Closed SergeAgeyev closed 8 years ago

SergeAgeyev commented 8 years ago

Hi,

Usefull stuff for examples

Here is simple piece of code to dump AltSoftSerial setup to show PINs and Timers used. It would be great addition to examples IMHO

Will show following AltSoftSerial connection diagram for Arduino Nano:

AltSoftSerial:Setup info: begin AltSoftSerial:USE TIMER1 AltSoftSerial:PIN: 8 RX AltSoftSerial:PIN: 9 TX AltSoftSerial:PIN:10 (unused PWM) AltSoftSerial:Setup info: end

Regards, Serge

ConfigInfo.zip