From ef1e877acd33cc2c1c6a64a37087497eca87f156 Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Fri, 19 May 2017 13:48:13 +0200 Subject: [PATCH] Les boutons fonctionnent correctement --- principal.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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