Skip to content

Commit e29498e

Browse files
authored
Update Pressure_Sensor.ino
1 parent 4160f05 commit e29498e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/Pressure_Sensor/Pressure_Sensor.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
SensorKit kit;
44

5-
float pressure;
6-
75
void setup() {
86
Serial.begin(9600);
97
kit.begin();
@@ -17,7 +15,7 @@ void loop() {
1715

1816
// Get and print atmospheric pressure data
1917
Serial.print("Pressure: ");
20-
Serial.print(pressure = Pressure.readPressure());
18+
Serial.print(Pressure.readPressure());
2119
Serial.println("Pa");
2220

2321
// Get and print altitude data

0 commit comments

Comments
 (0)