Accelerometer interrupt and light sensor application for VerdeLED