diff options
-rw-r--r-- | openpcd/firmware/src/trigger.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openpcd/firmware/src/trigger.c b/openpcd/firmware/src/trigger.c index a9be775..7fc51d1 100644 --- a/openpcd/firmware/src/trigger.c +++ b/openpcd/firmware/src/trigger.c @@ -9,6 +9,9 @@ void trigger_init(void) void trigger_pulse(void) { + volatile int i; AT91F_PIO_SetOutput(AT91C_BASE_PIOA, OPENPCD_PIO_TRIGGER); + for (i=0; i < 0xff; i++) + { } AT91F_PIO_ClearOutput(AT91C_BASE_PIOA, OPENPCD_PIO_TRIGGER); } |