17 lines
239 B
Python
17 lines
239 B
Python
import time
|
|
|
|
|
|
class SerialComms(object):
|
|
def __init__(self, config):
|
|
self.config = config
|
|
|
|
def loop(self):
|
|
print("Hello")
|
|
|
|
def run(self):
|
|
while True:
|
|
self.loop()
|
|
time.sleep(.5)
|
|
|
|
|