def __init__(self):
# Program the AVR. It has a tendency to fail without the delays here.
time.sleep(5)
subprocess.call('/usr/local/bin/program_avr.sh')
time.sleep(5)
self.bus = smbus.SMBus(1) # /dev/i2c-1
评论列表
文章目录