Rev 341 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 341 | Rev 342 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | */ |
15 | */ |
16 | /******************************************************************/ |
16 | /******************************************************************/ |
Line 17... | Line 17... | ||
17 | 17 | ||
18 | #include "main.h" |
18 | #include "main.h" |
19 | #include "timer.h" |
- | |
20 | #include "analog.h" |
19 | #include "timer.h" |
Line 21... | Line 20... | ||
21 | #include "lprg.h" |
20 | #include "lprg.h" |
22 | 21 | ||
23 | /* Strings zum definieren von Dauer-Ein Dauer-Aus */ |
22 | /* Strings zum definieren von Dauer-Ein Dauer-Aus */ |
Line 137... | Line 136... | ||
137 | 136 | ||
Line 138... | Line 137... | ||
138 | // Hier die zu verwendenden LichtProgramme einfach eintragen. |
137 | // Hier die zu verwendenden LichtProgramme einfach eintragen. |
Line 139... | Line 138... | ||
139 | 138 | ||
Line 140... | Line 139... | ||
140 | int current = 0; |
139 | int current = 0; |
Line 141... | Line 140... | ||
141 | 140 | ||
142 | void *modes[]= { led_posflash, led_an, led_aus }; |
141 | void *modes[]= { led_posflash, led_posflash1, led_an, led_flash1,led_aus, led_flash2 }; |
Line 238... | Line 237... | ||
238 | tim3s = SetDelay(3000); |
237 | tim3s = SetDelay(3000); |
239 | } |
238 | } |
Line 240... | Line 239... | ||
240 | 239 | ||
241 | // 10s-Task: DEMO: programm wechseln |
240 | // 10s-Task: DEMO: programm wechseln |
242 | if(CheckDelay(tim10s)) { |
241 | if(CheckDelay(tim10s)) { |
243 | // nextMode(); |
242 | nextMode(); |
244 | tim10s = SetDelay(10000); |
243 | tim10s = SetDelay(10000); |