summaryrefslogtreecommitdiff
path: root/tuer-rfid/ajar.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-09-23 00:32:20 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-09-23 00:32:20 +0000
commite2cfa9a1399d81b83c7d00a9304df46df807320c (patch)
tree53061ea985731aad7bbe84ef8d642bfc4ba7b5ad /tuer-rfid/ajar.c
parentsome timing fixed for stepper table (diff)
limits work now with ADC value
moved ajar sensor dor PORTC7 git-svn-id: https://svn.spreadspace.org/avr/trunk@226 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'tuer-rfid/ajar.c')
-rw-r--r--tuer-rfid/ajar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tuer-rfid/ajar.c b/tuer-rfid/ajar.c
index 18bf25b..06ca436 100644
--- a/tuer-rfid/ajar.c
+++ b/tuer-rfid/ajar.c
@@ -25,10 +25,10 @@
#include <stdio.h>
#include "ajar.h"
-#define AJAR_PIN PIND
-#define AJAR_PORT PORTD
-#define AJAR_DDR DDRD
-#define AJAR_BIT 4
+#define AJAR_PIN PINC
+#define AJAR_PORT PORTC
+#define AJAR_DDR DDRC
+#define AJAR_BIT 7
#define AJAR_LP_MAX 255