I'm a happy bunny! Got my stuff last week, ramping up in progress. Thanks for asking!
I was just wondering how it was going for ya up there
Hi ninjatill,
Just updated an Argon and Xenon to FW v0.8.0-rc.27. The Argon runs your “Marco” and the Xenon runs your “Polo” code. The Xenon started blinking red (SOS) after updating from v0.8.0-rc.26 to v0.8.0-rc.27.
One has to wait till the mesh network is ready before subscribing to a topic now. I recommend you add the following to the setup() methods.
void setup() {
Serial.begin(9600);
while(!Mesh.ready()) {
// wait till mesh is ready
}
Mesh.subscribe("Marco", ProcessBeat);
}
You’d better use waitUntil(Mesh.ready)
or place a Particle.process()
call inside your while()
loop.
BTW, when you see SOS you should also count the blinks that follow it to tell what panic error it is. I guess it’s SOS+10 (Assertion Fault), right?
Thanks for the tip. Yes, it was an SOS+10.
I added the waitUntil in v0.3.2. I’ll add to the older versions when I get a chance.