diff options
author | Keith Packard <keithp@keithp.com> | 2009-04-01 00:06:45 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-04-01 00:06:45 -0700 |
commit | 5fcfe854d29e1862d9a6adcbef3ef5119eb52fa3 (patch) | |
tree | 94ec8b4ffc4c2523c1df3e1bd946d088b388a872 /target/adc-serial/adc_serial.c | |
parent | 91607bebdd167ac632aca4b66e22cb0cabdf0d20 (diff) |
Add timer-based beep test
Diffstat (limited to 'target/adc-serial/adc_serial.c')
-rw-r--r-- | target/adc-serial/adc_serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/adc-serial/adc_serial.c b/target/adc-serial/adc_serial.c index 9f722bb5..eba58744 100644 --- a/target/adc-serial/adc_serial.c +++ b/target/adc-serial/adc_serial.c @@ -550,12 +550,13 @@ usart_out_number(uint16_t v) main () { - P1DIR |= 2; + P1DIR = 3; CLKCON = 0; while (!(SLEEP & SLEEP_XOSC_STB)) ; adc_init(); + P1_0 = 1; usart_init(); for (;;) { adc_run(); |