Spark port of Adafruit's unified sensor library