Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / test / test_lights.c @ 1365

History | View | Annotate | Download (418 Bytes)

1
#include <dragonfly_lib.h>
2

    
3
int testlights(void) {
4
    //usb_init();
5
    usb_puts("usb turned on\n");
6
    delay_ms(1000);
7

    
8
    orb_set_color(RED);
9
    delay_ms(1000);
10
    orb_set_color(ORANGE);
11
    delay_ms(1000);
12
    orb_set_color(YELLOW);
13
    delay_ms(1000);
14
    orb_set_color(GREEN);
15
    delay_ms(1000);
16
    orb_set_color(BLUE);
17
    delay_ms(1000);
18
    orb_set_color(PURPLE);
19
    delay_ms(1000);
20

    
21
    return 0;
22
}
23

    
24