summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/trap.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-04-01 10:49:44 +0200
committerJérémy Dufour2008-04-01 10:49:44 +0200
commit1197ceaf9f4a3730bf89542ad28ddd6aff634ade (patch)
treeb0e36db7ea234811554a288fa20b544bc738db2f /digital/io/src/trap.h
parent0d008cc2720a8c4bb3b76c6dec5040464d048adf (diff)
* digital/io/src
- add support for the rear trap (to eject the balls); - update eeprom key as required.
Diffstat (limited to 'digital/io/src/trap.h')
-rw-r--r--digital/io/src/trap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/digital/io/src/trap.h b/digital/io/src/trap.h
index 205697bd..bba780d8 100644
--- a/digital/io/src/trap.h
+++ b/digital/io/src/trap.h
@@ -49,6 +49,8 @@
* vertical.
* To go to the garbage, trap 3 must be vertical and traps 0, 1 and 2 must be
* horizontal.
+ * There is also a sixth trap to eject all the balls. It is used to put the
+ * balls contained in the boxes into the gutter (unlike the garbage).
*/
#include "servo.h" /* SERVO_NUMBER */
@@ -105,13 +107,13 @@ void
trap_set_high_time (uint8_t servo_id, uint8_t horizontal, uint8_t vertical);
/**
- * Open the rear pannel to eject the balls.
+ * Open the rear panel to eject the balls.
*/
void
trap_open_rear_panel (void);
/**
- * Close the rear pannel to eject the balls.
+ * Close the rear panel to eject the balls.
*/
void
trap_close_rear_panel (void);