Skip to content

Commit c92c22f

Browse files
committed
DM: fix pylint
1 parent 295f2f0 commit c92c22f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/soil_simpletest.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22

33
from board import SCL, SDA
44
import busio
5-
from micropython import const
65

76
from adafruit_seesaw.seesaw import Seesaw
87

98
i2c_bus = busio.I2C(SCL, SDA)
109

1110
ss = Seesaw(i2c_bus, addr=0x36)
1211

13-
while(1):
12+
while True:
1413
# read moisture level through capacitive touch pad
1514
touch = ss.moisture_read()
1615

1716
# read temperature from the temperature sensor
1817
temp = ss.get_temp()
1918

2019
print("temp: " + str(temp) + " moisture: " + str(touch))
21-
time.sleep(1)
20+
time.sleep(1)

0 commit comments

Comments
 (0)