changed bool to char in LED