I am using a SIM7000a modem with an Arduino Mega, the problem I am having is that I am running some code on the Arduino that cannot be stopped whatsoever and should always be running. I am also trying to send commands from adafruit io to the modem and everytime I send commands it halts and delays the program that is already running and for the project I am working on I cannot have the program stop because it is used for controlling a system. Is the delay from the libraries? The adafruit_mqtt and adafruit_mqtt_fona? I tried removing the de;lays from the libraries and it just stops the whole program. How do I fix this delay and halting problem?
I am using a SIM7000a modem with an Arduino Mega, the problem I am having is that I am running some code on the Arduino that cannot be stopped whatsoever and should always be running. I am also trying to send commands from adafruit io to the modem and everytime I send commands it halts and delays the program that is already running and for the project I am working on I cannot have the program stop because it is used for controlling a system. Is the delay from the libraries? The adafruit_mqtt and adafruit_mqtt_fona? I tried removing the de;lays from the libraries and it just stops the whole program. How do I fix this delay and halting problem?