Add timer-based beep test
[fw/altos] / target / adc-serial / adc_serial.c
index 9f722bb5d80a3c8627a6b303efdc6233ed4934c6..eba587440684b807e7b7c0e3303c30c0b1bd67ae 100644 (file)
@@ -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();