jenesaisdiq/SparkButton — pull request #2 by christophevg (2014-11-06 19:40:19+00:00)
Title: fixed math to map XY to corresponding LED

Hi,

I fixed the math to map the XY values from the accelerometer. It now lights up the correct corresponding LED. If the core+shield is (close to) level alle LEDs are set to green.

This request is part of the OpenGarage Instructables Spark Core Build Night ;-)

Regards,
Christophe VG