Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Make one example read fahrenheit
  • Loading branch information
shunceyb authored Jun 6, 2024
1 parent b8da890 commit 9dec6ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ void loop() {
if(millis() >= (prev + 300)) {
prev = millis();
thermocouples.read(Unit::CELCIUS, thermocouple1_index, &thermocouple1_temperature);
thermocouples.read(Unit::CELCIUS, thermocouple2_index, &thermocouple2_temperature);
thermocouples.read(Unit::FAHRENHEIT, thermocouple2_index, &thermocouple2_temperature);
Serial.println(thermocouple1_temperature);
Serial.println(thermocouple2_temperature);
}
thermocouples.loop(); // Call this as often as possible.
}
```
```

0 comments on commit 9dec6ea

Please sign in to comment.