Formated the code with astyle
This commit is contained in:
parent
dca26ac547
commit
90a1b412df
@ -7,12 +7,13 @@ int main (void)
|
|||||||
{
|
{
|
||||||
/* set pin 25 of PORTB for output*/
|
/* set pin 25 of PORTB for output*/
|
||||||
DDRA |= _BV(DDA3);
|
DDRA |= _BV(DDA3);
|
||||||
while(1) {
|
|
||||||
|
while (1) {
|
||||||
/* set pin 25 high to turn led on */
|
/* set pin 25 high to turn led on */
|
||||||
PORTA |= _BV(PORTA3);
|
PORTA |= _BV(PORTA3);
|
||||||
_delay_ms(BLINK_DELAY_MS);
|
_delay_ms(BLINK_DELAY_MS);
|
||||||
/* set pin 25 low to turn led off */
|
/* set pin 25 low to turn led off */
|
||||||
PORTA &= ~_BV(PORTA3);
|
PORTA &= ~_BV(PORTA3);
|
||||||
_delay_ms(BLINK_DELAY_MS);
|
_delay_ms(BLINK_DELAY_MS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user