FORUM
Hello,
I've been able to have my Solo unit communicate with an Arduino Mega via serial, and then use another serial line to transmit data to my PC for logging. To do this, I used two UART ports on my Mega, and had to change the ExeCmd function in the solo c++ library. I changed Serial to Serial1, and in the function, and then ensured the Serial instance in my code was used to talk to my PC, and not the Serial1 instance.
I there a more appropriate way to do this without modifying the Solo library?
Hi @wrcman555,
You are right, at the moment the library doesn't have the flexibility for changing the serial port with just passing input to initialization functions, however, we are working on that, and in our near future Arduino library release, there will be the possibility to pass the desired Serial port for multi-UART port Arduinos.
We will keep you updated on the newsletter once a new release goes out.
Milad
If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.
Hi @wrcman555,
now our library support multi-port UART capability, please have a look at the below link:
Regards
Milad
If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.