Spare Parts is (was?) part of the Android Open Source Project, but got posted to the Android Market with ads added and only minor changes. Romain Guy (of Google's Android team) posted sample code for a Shelves application and had the same experience.
I love open source, but make my living with closed source Android apps. One of my early projects actually was an LED flashlight app. I tried selling it for a week or two, then switched to a free and donate model which doesn't make much money. My other apps do, and it's just a flashlight so I have no interest in monetizing it. I also rarely update it, don't answer support emails for it, and certainly don't buy banner ads to promote it. Without any marketing effort on my part, there is no way it will compete with the commercial offerings. I've considered open sourcing it, and maybe I should, but I'm still a bit attached, as it was one of my first apps, and I'd hate to see a fork of it with ads and junk grow more popular than it. I also wouldn't have much time to review pull requests and build/test new APKs to publish.
The app is TeslaLED. If it works on your device (works on most modern devices) then it's probably what you're looking for. Sadly if it doesn't it is unlikely to get updated in the near future with support.