ok i apologize i was given a function that didnt work for what i wanted and now i found my answer im sure yours worked fine but really all i needed was
LedState[x] |=(1<< n);
LedState[x] &= ~(1<< n);
x being the byte in my array and n being the bit i needed to change. i haven't done much with individual bits changed this way and was led to believer it would take a special function. shows how i still don't have a ton of experience... with these in my function i will be able to accomplish my goal and everything should work fine as iv tested this on code composer at home and it should do exactly what i want i do thank you for your help.