File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/ReadSensorsImperial Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
This example reads data from the on-board HTS221 sensor of the
5
5
Nano 33 BLE Sense then, prints the temperature and humidity sensor
6
- values in imeprial units to the Serial Monitor once a second.
6
+ values in imperial units to the Serial Monitor once a second.
7
7
8
8
The circuit:
9
9
- Arduino Nano 33 BLE Sense
@@ -24,7 +24,7 @@ void setup() {
24
24
}
25
25
26
26
void loop () {
27
- // Passing in FAHRENHEIT as the unit parameter to ENV .readTemperature(...),
27
+ // Passing in FAHRENHEIT as the unit parameter to HTS .readTemperature(...),
28
28
// allows you to read the sensor values in imperial units
29
29
float temperature = HTS.readTemperature (FAHRENHEIT);
30
30
float humidity = HTS.readHumidity ();
You can’t perform that action at this time.
0 commit comments