Spark Core Firmware for Music and Home Automation Devices