float var = 5.3;
float suma = 0;
float cadena[4] = {1, 2, 3, 6};
int valor=0;
int i=0;
float media=0;

void setup() {
  // put your setup code here, to run once:



  Serial.begin(9600);
  Serial.println("Hola mundo");

}

void loop() {
  // put your main code here, to run repeatedly:

  for (i=0; i<4; i++)
  {
    suma = suma + cadena[i];

  }
  media = suma/4.0;

  Serial.println(suma);
  Serial.println(media);
  suma = 0;
  delay(1000);

}