added the initial code to make the mobile work with fading LED technology