The Spark Core has Arrived

I ordered a Spark core post-Kickstarter. Interestingly, it shipped from Europe. Right out of the box, I could not get it to to connect to wifi (b/g). I tried configuring it by iOS app and by USB (cool!). It turns out that my ancient WAP54G was on channel 11. I changed the channel and it connected immediately. Weird.

I’ve used Electric Imps. I found them to be quirky and nearly impractical. The Imp cloud service is really hard to use. The API’s change a lot. The Imp would get stuck downloading new firmware and takes minutes to come back online after a hardware reset.

Want some quick starter code? Use this to control the built-in RGB LED.

void setup() {
RGB.control(true);
}

void loop() {
RGB.color(255, 0, 0);

// wait one second
delay(1000);
RGB.color(0, 255, 0);

// wait one second
delay(1000);
RGB.color(0, 0, 255);

// wait one second
delay(1000);
}

20140115-210509.jpg

20140115-210528.jpg