projects
/
saartuer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put a date in the e-mails
[saartuer.git]
/
actor.py
diff --git
a/actor.py
b/actor.py
index 8f57d9f163508ab17b173b6517063544bbd89f64..8dd73231e18b53f9001ded2b8f816f48160cf6b6 100644
(file)
--- a/
actor.py
+++ b/
actor.py
@@
-24,11
+24,11
@@
class Actor:
logger.info("Actor: Running command %s" % name)
for (value, delay) in todo:
if value is not None:
logger.info("Actor: Running command %s" % name)
for (value, delay) in todo:
if value is not None:
- logger.debug("Setting pin %d to %d" % (pin, value))
+ logger.debug("
Actor:
Setting pin %d to %d" % (pin, value))
GPIO.output(pin, value)
time.sleep(delay)
else:
GPIO.output(pin, value)
time.sleep(delay)
else:
- logger.
error("Actor: Gu
t unknown command %d" % cmd)
+ logger.
critical("Actor: Go
t unknown command %d" % cmd)
def stop(self):
self.act.stop()
def stop(self):
self.act.stop()