Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement