Is it possible to know the IOs (pins) being used by the Serial object that was passed to the function?
Which Arduino board are you using ?
Whichever it is then you will know which pins that the Serial object is using so why not pass them to the function explicitly ?
UKHeliBob:
Which Arduino board are you using ?
Whichever it is then you will know which pins that the Serial object is using so why not pass them to the function explicitly ?
Yeah could do that but not so interesting then....
Deva_Rishi:
Have a look at the 'Conceptinetics' dmx library, there a break is generated by changing the BAUD rate.
Liked this idea and wrote this up (and it works!):