Change pin and delay of the toggle.
This commit is contained in:
parent
35e57060c6
commit
f2d128bfcd
@ -4,14 +4,13 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
DDRF |= 1 << PF7;
|
||||
|
||||
DDRB |= 1 << PB2;
|
||||
|
||||
while (1) {
|
||||
PORTF &= ~(1 << PF7);
|
||||
_delay_ms(1000);
|
||||
PORTF |= 1 << PF7;
|
||||
_delay_ms(1000);
|
||||
PORTB &= ~(1 << PB2);
|
||||
_delay_ms(10);
|
||||
PORTB |= 1 << PB2;
|
||||
_delay_ms(10);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user