summaryrefslogtreecommitdiff
path: root/usb-i2c-sl018/tuer-rfid.c
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@wirdorange.org>2013-02-05 23:37:16 +0000
committerOthmar Gsenger <otti@wirdorange.org>2013-02-05 23:37:16 +0000
commit82fc54a1ceb3473e7a79a02dbc65abc556cdf93b (patch)
treef12c0040b42dc4d7a8d608f12b2f4831cd2e85b2 /usb-i2c-sl018/tuer-rfid.c
parentadded basic stepper support (diff)
motor with timer working
git-svn-id: https://svn.spreadspace.org/avr/trunk@120 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-i2c-sl018/tuer-rfid.c')
-rw-r--r--usb-i2c-sl018/tuer-rfid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c
index 7f41798..c77b6f2 100644
--- a/usb-i2c-sl018/tuer-rfid.c
+++ b/usb-i2c-sl018/tuer-rfid.c
@@ -439,8 +439,11 @@ int main(void)
CDC_Device_CreateStream(&VirtualSerial_CDC_Interface,&usb_stream);
init_heartbeat();
+ init_stepper();
sl018_reset();
+ start_stepper(dir_close);
+
for(;;) {
CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
USB_USBTask();