How are these numbers gonna be stored in the char array PatternTable[]? Are they stored in 5 elements as binary numbers or stored in 5 elements as regular numbers? And what about the 10 in decimal?
Thanks, that's helpful information. Actually it works like that, there is no error in the code.
What I did is I built a led cube 4x4x4 controlled by the arduino uno. The format of "B1111, B1001" etc. is what decides which LED is gonna light up, but to get more memory for patterns it is saved in flash memory.