diff --git a/Geigerzaehler/main.c b/Geigerzaehler/main.c index c291437..9ed238a 100644 --- a/Geigerzaehler/main.c +++ b/Geigerzaehler/main.c @@ -49,11 +49,11 @@ int main() DDRB |= (1 << PORTB5); // Onboard-Led // Interrupts - // for INT0 Pin-D2 High-voltage check - EICRA |= (0 << ISC01)|(1 << ISC00); // On at any edge [Code: 01] + // for INT0 Pin-D2 - Counter-click + EICRA |= (0 << ISC01)|(1 << ISC01); // On rising edge [Code: 01] EIMSK |= (1 << INT0); // Activate Interrupt INT0 - // for INT1 Pin-D3 Counter-click - EICRA |= (1 << ISC11)|(1 << ISC10); // On rising edge [Code: 11] + // for INT1 Pin-D3 - High-voltage check + EICRA |= (1 << ISC10)|(1 << ISC11); // On any edge [Code: 11] EIMSK |= (1 <