We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10c8bc9 + 8d13e87 commit 213c27eCopy full SHA for 213c27e
1 file changed
15_TimerUndInterrupts.md
@@ -313,7 +313,7 @@ ISR(INT0_vect) {
313
int main (void) {
314
DDRB |= (1 << PB5);
315
DDRD &= ~(1 << DDD2); // Pin als Eingang
316
- PORTD |= (1 << PORTD2); // Pullup-Konfiguration
+ PORTD |= (1 << PD2); // Pullup-Konfiguration
317
EIMSK |= ( 1 << INT0);
318
EICRA |= ( 1 << ISC01);
319
sei();
@@ -429,7 +429,7 @@ ISR(INT0_vect) {
429
430
431
DDRD &= ~(1 << DDD2);
432
- PORTD |= (1 << PORTD2);
+ PORTD |= (1 << PD2);
433
434
435
0 commit comments