You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a LilyGo T-SIM7000G and I'm having trouble compiling the AdafruitIO_MQTT_Demo example. I'm using the Arduino IDE and for troubleshooting purposes I am focusing on the following code:
I understand that the Adafruit FONA library must not be installed when using BotleticsSIM7000.h however I receive the following error when I attempt to compile: demo.ino:10:\libraries\Adafruit_MQTT_Library/Adafruit_MQTT_FONA.h:26:10: fatal error: Adafruit_FONA.h: No such file or directory
and when the Adafruit FONA library is installed I get the following error: demo.ino:14:1: error: 'Adafruit_FONA_LTE' does not name a type; did you mean 'Adafruit_FONA_3G'
The text was updated successfully, but these errors were encountered:
I'm using a LilyGo T-SIM7000G and I'm having trouble compiling the AdafruitIO_MQTT_Demo example. I'm using the Arduino IDE and for troubleshooting purposes I am focusing on the following code:
`
#define AIO_SERVER "io.adafruit.com"
#define AIO_SERVERPORT 1883
#define AIO_USERNAME "MyUsername"
#define AIO_KEY "MyKey"
#include <BotleticsSIM7000.h>
#include <Adafruit_MQTT.h>
#include <Adafruit_MQTT_FONA.h>
#include <HardwareSerial.h>
HardwareSerial modemSerial(1);
Adafruit_FONA_LTE modem = Adafruit_FONA_LTE();
Adafruit_MQTT_FONA mqtt(&modem, AIO_SERVER, AIO_SERVERPORT, AIO_USERNAME, AIO_KEY);
void setup() {
//....
}
void loop() {
//....
}
`
I understand that the Adafruit FONA library must not be installed when using BotleticsSIM7000.h however I receive the following error when I attempt to compile:
demo.ino:10:\libraries\Adafruit_MQTT_Library/Adafruit_MQTT_FONA.h:26:10: fatal error: Adafruit_FONA.h: No such file or directory
and when the Adafruit FONA library is installed I get the following error:
demo.ino:14:1: error: 'Adafruit_FONA_LTE' does not name a type; did you mean 'Adafruit_FONA_3G'
The text was updated successfully, but these errors were encountered: