//So i want to change 1 for A.
// 7 for B.
// 13 for C.
//untill 30 For F.
This doesn't quite make sense. You seem to be adding six each time, so you do not end at 30 !
const byte A = 1 ;
const byte B = 7 ;
const byte C = 13 ;
const byte D = 19 ;
const byte E = 25 ;
const byte F = 31 ;
This answers your question literally but ignores the problem that you are (for some reason) really trying to "solve".
and if possible in some way i like to have the , , , , , , gone. But don't know how.
Perhaps you want Light("A110011") ;
You will have to change the definition of the function Light(...) to something like
void Light(const char * inString)
and 'inString' will be an array of length 8, where
inString is the character 'A', and
inString and inString and inString and inString are the character '1', and
inString and inString are the character '0'.
The Light function will have to act appropriately for such inputs.
The array 'inString' is of length 8 because the 7 characters are followed by a binary 0 (null character) to mark the end of the c string.
You may want the Light(...) function to check that strlen(inString) == 8 .
By the way,
6 * (inString - 'A') + 1
will give you the number that corresponds to A, B, C, D, E, and F (but not 30 !).
This code is untested and may contain errors. I would not be surprised if it draws many comments.