Labs
root@edison:~/TheIoTLearningInitiative/InternetOfThings101# vi main.py
#!/usr/bin/python
import time
def functionDataActuator():
print "Data Actuator"
if __name__ == '__main__':
while True:
functionDataActuator()
time.sleep(5)
# End of File
root@edison:~# python actuators.py
Hello Internet of Things 101
Data Actuator
Data Actuator
...
Last updated