Skip to content

Commit fd5c316

Browse files
authored
Update readme.md
Change mentions of kit.begin and temperature in section about reading the humidity
1 parent 859bdf0 commit fd5c316

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,12 @@ By default, once you include the library it has been set to digital pin `3`, it
249249
250250
void setup() {
251251
Serial.begin(9600);
252-
kit.begin();
252+
Environment.begin();
253253
}
254254
255255
void loop() {
256256
humidity = Environment.readHumidity();
257-
Serial.print("Temperature: ");
258-
Serial.print(temperature); //print temperature
257+
Serial.print("Humidity: ");
258+
Serial.print(humidity); //print humidity
259259
}
260260
```

0 commit comments

Comments
 (0)