General: * Spark must exit loop function early and often * reset spark: Hold down both buttons, then release the RST button, while holding down the MODE button. The LED should begin flashing yellow. Continue holding down the MODE button until you see the Core change from flashing yellow to flashing white. Then release the button. The Core should begin flashing blue after the factory reset is complete. * [[http://docs.spark.io/firmware|All the reference]] [[https://github.com/spark/spark-cli|Updating directions]]: * spark flash --usb deep_update_2014_06 (or if you believe [[http://support.spark.io/hc/en-us/articles/203108844-Perform-a-Full-Firmware-Upgrade|this]] then: spark flash --factory tinker) * spark flash --usb cc3000 * spark flash --usb tinker   Lamp project: * [[http://thingm.com/fileadmin/thingm/downloads/BlinkM_datasheet.pdf|Blinkm data sheet]] * [[https://www.inkling.com/read/arduino-cookbook-michael-margolis-2nd/chapter-13/recipe-13-1|Spark Core and hue stuff with Blinkm]] Color scheme: * [[http://www.tigercolor.com/color-lab/color-theory/color-theory-intro.htm|Color Schemes (theory)]] * [[http://stackoverflow.com/questions/14095849/calculating-the-analogous-color-with-python|Calculating Analogous colors (python)]] * [[http://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion|HSL -> RGB conversion (pure js)]] [[https://community.spark.io/t/creating-timer-based-interrupts/771/7|timer-based interrupts]]