Skip to content

Commit 247e590

Browse files
committed
Fixed variable naming error.
1 parent eeeb28e commit 247e590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To begin using the PH4502 Sensor Library, follow these simple steps:
6868
```cpp
6969
void loop() {
7070
// Read pH value
71-
float pHValue = sensor.read_ph_level();
71+
float pHValue = ph4502c.read_ph_level();
7272
7373
// Do something with the pH value
7474
// Delay before next reading

0 commit comments

Comments
 (0)