|
from kuukar.kuukar import kuukar
|
|
import time
|
|
|
|
car = kuukar()
|
|
while True:
|
|
temp = car.sensors.get_temperature()
|
|
humid = car.sensors.get_humidity_pct()
|
|
dist = car.sensors.sonar_get_distance()
|
|
print(f'temp: {temp}, humidity: {humid}, dist: {dist}')
|
|
time.sleep(1)
|