Rev 38 | Rev 40 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 38 | Rev 39 | ||
---|---|---|---|
Line 187... | Line 187... | ||
187 | 187 | ||
188 | UART_Init(); |
188 | UART_Init(); |
189 | Timer0_Init(); |
189 | Timer0_Init(); |
Line 190... | Line 190... | ||
190 | sei ();//Globale Interrupts Einschalten |
190 | sei ();//Globale Interrupts Einschalten |
191 | 191 | ||
- | 192 | PORTD &= ~GRUEN; |
|
192 | PORTD &= ~GRUEN; |
193 | Delay_ms(500); |
193 | Delay_ms(500); |
194 | |
194 | // Am Blinken erkennt man die richtige Motoradresse |
195 | // Am Blinken erkennt man die richtige Motoradresse |
195 | for(test=0;test<MOTORADRESSE;test++) |
196 | for(test=0;test<MOTORADRESSE;test++) |
196 | { |
197 | { |
197 | PORTD |= GRUEN; |
198 | PORTD |= GRUEN; |
198 | Delay_ms(200); |
199 | Delay_ms(250); |
199 | PORTD &= ~GRUEN; |
200 | PORTD &= ~GRUEN; |
Line 200... | Line 201... | ||
200 | Delay_ms(200); |
201 | Delay_ms(250); |
201 | } |
202 | } |