Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / unit_tests / test_ir.c @ 1827

History | View | Annotate | Download (228 Bytes)

1
#include <dragonfly_lib.h>
2

    
3
int testir(void)
4
{
5
        int port;
6
        analog_init(ADC_START);
7
        while(1){
8
                for(port = 0; port <= 2; port++){
9
                        usb_puti(analog10(port));
10
                        usb_putc(',');
11
                        delay_ms(575);
12
                }
13
        }
14
        return 0;
15
}