projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41a6051
)
sending status message after successful open/close
author
realraum
<realraum@realraum.at>
Thu, 30 Apr 2009 04:12:29 +0000
(
04:12
+0000)
committer
realraum
<realraum@realraum.at>
Thu, 30 Apr 2009 04:12:29 +0000
(
04:12
+0000)
firmware/tuer.pde
patch
|
blob
|
history
diff --git
a/firmware/tuer.pde
b/firmware/tuer.pde
index
7b2b4a0
..
ddf8ba3
100644
(file)
--- a/
firmware/tuer.pde
+++ b/
firmware/tuer.pde
@@
-359,6
+359,12
@@
ISR(TIMER1_COMPA_vect)
stop_timer();
reset_stepper();
current_state = IDLE;
+ Serial.print("Status: ");
+ if(is_opened())
+ Serial.print("opened");
+ else if(is_closed())
+ Serial.print("closed");
+ Serial.println(", idle");
return;
}
else if(current_state == ERROR) {