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<=5; i++)
{
valor = valor + i;
}
media = (float)valor/10.0;
Serial.println(valor);
Serial.println(media);
delay(1000);
}