LED cycle fuction now works