Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / scheduler / main.c @ 1479

History | View | Annotate | Download (300 Bytes)

1
#include <dragonfly_lib.h>
2
#include "scheduler.h"
3

    
4
int main(void)
5
{
6

    
7
        /* initialize components, set wireless channel */
8
        dragonfly_init(ALL_ON);
9
        
10
        int val;
11

    
12
        while (1) {
13

    
14
                usb_puts("Val: ");
15
                bom_refresh(BOM_ALL);
16
                usb_puti(bom_get_max());
17

    
18
                usb_putc('\n');
19

    
20
                delay_ms(200);
21

    
22
        }
23

    
24
        return 0;
25
}
26