Merged TOMTE code with LED demo code