title: How to add to an array - Arduino
body: <p>I am trying to start off with a empty array and then generate a random number patten using the following code but I seem to not be able to get it to work.</p>
  
  <pre><code> int sequence = {};
  
   random(1, 4);
  
   for (int i=0; i &lt;= 7; i++){
   sequence[i] = random(1, 4);
   } 
  </code></pre>