title: Struct and Arduino
body: <p>I´m trying to use struct with Arduino and I´m a beginner and I don´t know how to declare an array inside the struct and use it (<code>int pin[5]</code> and <code>int vecinos[6]</code>).</p>
  
  <pre><code>typedef struct
  {
    int id;
    int pin[5];
    int tiempoCero;
    int tiempoApagado;
    int estado;
    int vecinos[6];
  } zonas;
  
  zonas zona[5];
  </code></pre>