summaryrefslogtreecommitdiff
path: root/digital/mimot/src/dirty/contacts.h
diff options
context:
space:
mode:
authorNicolas Schodet2010-04-29 23:03:56 +0200
committerNicolas Schodet2010-04-29 23:03:56 +0200
commitdf7d0d94ecc69fa9aadd2ab90db89b5ef1a74030 (patch)
tree7af42d2bd652fdf0f4fbd308d3df06d8a51299c5 /digital/mimot/src/dirty/contacts.h
parentd467bcadf9322a48fa7519907430fa5fb089329e (diff)
digital/mimot/src/dirty: add copy/pasted firmware for mimot, refs #123
This is a quick and dirty firmware copied from asserv. This will be improved once #124 is closed.
Diffstat (limited to 'digital/mimot/src/dirty/contacts.h')
-rw-r--r--digital/mimot/src/dirty/contacts.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/digital/mimot/src/dirty/contacts.h b/digital/mimot/src/dirty/contacts.h
new file mode 100644
index 00000000..1de0c57d
--- /dev/null
+++ b/digital/mimot/src/dirty/contacts.h
@@ -0,0 +1,32 @@
+#ifndef contacts_h
+#define contacts_h
+/* contacts.h */
+/* asserv - Position & speed motor control on AVR. {{{
+ *
+ * Copyright (C) 2009 Nicolas Schodet
+ *
+ * APBTeam:
+ * Web: http://apbteam.org/
+ * Email: team AT apbteam DOT org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * }}} */
+
+/** Define contacts. */
+#define CONTACT_AUX0_ZERO_IO C, 0
+#define CONTACT_AUX1_ZERO_IO C, 1
+
+#endif /* contacts_h */