Why does this simple code
void setup() {
Serial.begin(9600);
boolean localIP = Cellular.ready();
Serial.println(“Ready”);
}
void loop() {
}
give me this error?
test.cpp:3:21: error: ‘Cellular’ was not declared in this scope
void setup();
I was sure that I had this working previously. How do I declare Cellular? My devices in the build.particle environ are electron. Wifi stuff will compile but not cellular.
Jubbs