I had a program running on my spark/particle a few months ago, and it compiled without issue using the online IDE. I recently received a couple photons and when I tried to flash the same code, I got the message that SPARK_WLAN_Loop() was deprecated. So I made the following change:
//while(!Serial.available()) SPARK_WLAN_Loop(); while(!Serial.available()) spark.process();
I now get
error: expected primary-expression before ‘.’ token
Any ideas? The only answers I found from this forum had something to do with gcc versions and how an array was formatted. It didn’t seem to apply to my code.
thanks in advance