Update code.py
fix travis nits
# Code adapted from Tony Dicola's CircuitPython code using the DS18x20 temp sensor
# as well as John Park's CircuitPython code determining soil moisture from nails
+import time
from adafruit_onewire.bus import OneWireBus
from adafruit_ds18x20 import DS18X20
-import time
import board
-import simpleio
import touchio
import neopixel
import analogio
@@ -99,7 +98,7 @@ while True:
print("Not hot enough, right moisture level")
# ALL GREEN = COMPOST AT OPTIMUM TEMPERATURE & MOISTURE
- elif(compostTemp>tempThreshhold):
+ elif compostTemp > tempThreshhold:
pixels.fill((0,255,0)) # green
print("Compost Ready")
