So, I am working on a Arduino Mega 2560 for a project that will be making use of 3 of the USART connections. I was originally using the HardwareSerial library. I knew there were certain libraries to avoid such as digitalwrite for time critical programs but I didn't think this applied to the Serial libraries until I was recently told that it is. Is this true? I've been trying to learn the names of all the registers and what they do and trying to write my own library but it's taking up alot more time than I had hoped. Should I keep trying to write my own Serial library or was my friend mistaken and the Arduino Serial libraries are fine. Also I think one of the serial connections will have to be interrupt driven, is this even possible using the Arduino libraries or would that one have to be customized as well for my use? Thanks for any help and sorry if this is posted somewhere else, I couldn't find anything pertaining to this except some tutorial explaining how to start my own.
Joined: Wed. Jul 1, 2015
Posts: 21 View posts