Project

General

Profile

Statistics
| Revision:

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

History | View | Annotate | Download (300 Bytes)

1 16 bcoltin
#include <dragonfly_lib.h>
2 1479 jsexton
#include "scheduler.h"
3 16 bcoltin
4 857 bcoltin
int main(void)
5
{
6 1419 jsexton
7 967 alevkoy
        /* initialize components, set wireless channel */
8 857 bcoltin
        dragonfly_init(ALL_ON);
9 1419 jsexton
10
        int val;
11 967 alevkoy
12 1394 cmar
        while (1) {
13 967 alevkoy
14 1419 jsexton
                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 967 alevkoy
        }
23
24
        return 0;
25 16 bcoltin
}