Go Down

Topic: Messenger library (Read 26 times) previous topic - next topic

orvtech


rasc1234

Hi,

Is it possible to use this library also on Serial1, Serial2 etc. available on the Arduino Mega? (This would be great)

Thank you

tof

Quote
Is it possible to use this library also on Serial1, Serial2 etc.


Yes. You simply feed byte process(int serialData) with the serial data of the port you wish to parse. Please note that will also need one instance of the Messenger class for every port.
Thomas Ouellet Fredericks

rasc1234

Hi,
Thank you for indicating what needs to be done - I will answer back if this worked for me
Ralph

rasc1234

I see what you mean - this was really not a too clever question of mine...

Thank you for providing this very useful library!

Go Up