// Valores x 10
int tempMin = 359;
int tempMax = 369;
int bpmMin = 40;
int bpmMax = 100;
void setup() {
Serial.begin(9600);
}
void loop() {
float temp = random(tempMin, tempMax) / 10.0;
int bpm = random(bpmMin, bpmMax);
// put your main code here, to run repeatedly:
Serial.print(temp);
Serial.print(" ");
Serial.println(bpm);
delay(5000);
}
Comments