Hi all,
I was able to flash the core even in our office environment (since the cc3000 update), but while it seems to push out events pretty well for some times using Spark.publish(), I cannot update it any more. I’ve had to reset the core to the default firmware, add the wifi credentials and then it works.
Here’s my code as an example:
void setup() {
}
void loop() {
unsigned long time = millis();
int rand = time % 8;
event(rand, false, 150); --> sends a Spark.publish event
delay(1000);
event(rand, true, (int)(time % 4096)); --> sends a Spark.publish event
delay(1000);
//tap event?
}
Is there an issue? Maybe delay(1000) should not be used?