-


-


-

Array multidimensional en c


ATMEGA AVR studio:

int seq[4][8] = {
  {{0x04}, {0x0c}, {0x08} , {0x0a},{0x0b}, {0x03}, {0x07} ,{0x05}},
  {{0x07}, {0x03} , {0x0b},{0x0a}, {0x08}, {0x0c} ,{0x04},{0x05}},
{{0x0c}, {0x0a}, {0x03} , {0x05},{0x0c}, {0x0a}, {0x03} ,{0x05}},
{{0x03}, {0x0a} , {0x0c},{0x05}, {0x03}, {0x0a} ,{0x0c},{0x05}} };

PIC PCWCCS:


int seq[4][8] = {
  // 0x04,0x0c,0x08,0x0a,0x0b,0x03,0x07,0x05,
  // 0x07,0x03,0x0b,0x0a,0x08,0x0c,0x04,0x05,
   0x0c,0x0a,0x03,0x05,0x0c,0x0a,0x03,0x05,
   0x03,0x0a,0x0c,0x05,0x03,0x0a,0x0c,0x05}   ;


No hay comentarios:

Publicar un comentario

Cualquier critica, propuesta idea o sugerencia sera bien recibida