Error: too many initializers for byte

I have 3 RFID reader and 12 tags. These tags are divided in 3 categories and they form a 64 combination (each combination as 3 tags. For examples, this is one combination {"1954beb8", "a905bdb8", "0938c4b8"}).
When you pass 3 tags in the right combination a green led starts blinking, if you use a tag that isn't in a combination red led start lighting.

I wrote this:

byte tagarray[...] = {
{"1954beb8", "a905bdb8", "0938c4b8"},
.......... }

and all the other combination

I want to know how can I calculate the byte that I have to put in byte tagarray[HERE]
because if I put 64 the "too many initializers for byte" error starts, if I put a casual number like 30000 it tell me that this number is too large.
Thank you

I wrote this:

byte tagarray[][...] = {
   {"1954beb8", "a905bdb8", "0938c4b8"},
   .......... }

So many wrong things.

Now I try to write byte tagarray[64][3]
But there is the same error with 3

Now I try to write byte tagarray[64][3]
But there is the same error with 3

"1954beb8" How many characters?

Post code, post actual error messages, not snippets.

With "" they are 10 or 8.
I try also with 8, 10 or 8x3 or 10x3.
I cannot understand the mechanism

I never use arduino before. I try to learn something.

See reply #3


Could you take a few moments to Learn How To Use The Forum.
It will help you get the best out of the forum in the future.

Posting tips.

  • Your OS and version can be valuable information, please include it along with extra security you are using.
  • Always list the version of the IDE you are using and the board version if applicable.
  • How to insert an image into your post. ( Thanks Robin2 )
  • Add your sketch where applicable but please use CODE TAGS ( </> )
  • Add a SCHEMATIC were needed even if it is hand drawn
  • Add working links to any specific hardware as needed (NOT links to similar items)
  • Remember that the people trying to help cannot see your problem so give as much information as you can

I've done it ALONE.. For others that need help
The first [rows], second [column], third [the number of letters]
I have 1 row, 3 column and 10 letters for each column
byte tagarray[1][2][10] = {
{"1954beb8", "a905bdb8", "0938c4b8"} }.

It's the firts time that I try to do something. I need help and if I make a question I would like a REAL answer not just to discuss about nothing.

Feel free to start here for pointers on how to get REAL help, by asking REAL questions and providing REAL code and REAL error messages.