diff --git a/principal.txt b/principal.txt index d86be0c..b2ef338 100644 --- a/principal.txt +++ b/principal.txt @@ -52,10 +52,10 @@ jmp retour .org 0x0006 ; INT2 - jmp incrementer + jmp decrementer .org 0x0008 ; INT3 - jmp decrementer + jmp incrementer .org 0x0018 ; Watchdog jmp watchdog @@ -94,7 +94,7 @@ debut: ; Interruptions externes EIMSK <- 0b00001111 - EICRA <- 0b11111111 ; TODO Oscillations annulables ? + EICRA <- 0b10101010 EICRB <- 0b00000000 ; ADC @@ -253,7 +253,7 @@ etatVeilleHeur: reti etatVeilleTemp: - etat <- 0 + etat <- 1 compteur <- ADCH call afficherTemperature reti -- libgit2 0.21.2