Rev 1880 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1880 | Rev 1897 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | // initializes the LED control outputs J16, J17 |
9 | // initializes the LED control outputs J16, J17 |
10 | void LED_Init(void) |
10 | void LED_Init(void) |
11 | { |
11 | { |
12 | // set PC2 & PC3 as output (control of J16 & J17) |
12 | // set PC2 & PC3 as output (control of J16 & J17) |
13 | DDRC |= (1<<DDC2)|(1<<DDC3); |
13 | DDRC |= (1<<DDC2)|(1<<DDC3); |
14 | J16_OFF; |
- | |
- | 14 | /// J16_OFF; /// MartinW: removed because of switching during calibration, not useful for activate fireworks |
|
15 | J17_OFF; |
15 | /// J17_OFF; |
16 | J16Blinkcount = 0; J16Mask = 128; |
16 | J16Blinkcount = 0; J16Mask = 128; |
17 | J17Blinkcount = 0; J17Mask = 128; |
17 | J17Blinkcount = 0; J17Mask = 128; |
18 | } |
18 | } |
Line 19... | Line 19... | ||
19 | 19 |