After a frustrating amount of debugging it seems my gc0011 library for the PFC1 BOM will not work. I’m unable to see for certain but it seems that SoftwareSerial is causing a conflict with the rest of the Rosserial implementations.
Has anyone used SoftwareSerial in an Openag_Brain sensor or actuator?
Can somebody who is a rocket scientist take a look at my code and tell me what I’m missing?
This code has been refactored about a zillion times but is now a basic copy of the GC0012 repo with the change that it uses SoftwareSerial to connect to the originally specified pins 12 and 11 on the Mega.
The problem starts at
The program locks up if I uncomment
_serial_port->print("K 2\r\n"); // enable polling mode
There is demo code in the
gc0011-demo-arduino-code folder. It works.
Thanks for your help!