Skip to content

Commit 8d13e87

Browse files
Update 15_TimerUndInterrupts.md
1 parent 10c8bc9 commit 8d13e87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

15_TimerUndInterrupts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ ISR(INT0_vect) {
313313
int main (void) {
314314
DDRB |= (1 << PB5);
315315
DDRD &= ~(1 << DDD2); // Pin als Eingang
316-
PORTD |= (1 << PORTD2); // Pullup-Konfiguration
316+
PORTD |= (1 << PD2); // Pullup-Konfiguration
317317
EIMSK |= ( 1 << INT0);
318318
EICRA |= ( 1 << ISC01);
319319
sei();
@@ -429,7 +429,7 @@ ISR(INT0_vect) {
429429
int main (void) {
430430
DDRB |= (1 << PB5);
431431
DDRD &= ~(1 << DDD2);
432-
PORTD |= (1 << PORTD2);
432+
PORTD |= (1 << PD2);
433433
EIMSK |= ( 1 << INT0);
434434
EICRA |= ( 1 << ISC01);
435435
sei();

0 commit comments

Comments
 (0)