Commit 74a5d5fa99f81f5429779e637429d6049fbbaffb
1 parent
c528355c
Ajout des l initialisation de l ADC
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
Algorithme
@@ -23,6 +23,9 @@ debut: | @@ -23,6 +23,9 @@ debut: | ||
23 | EIMSK = 0x037 | 23 | EIMSK = 0x037 |
24 | EICRA = 0x06 | 24 | EICRA = 0x06 |
25 | EICRB = 0x00 | 25 | EICRB = 0x00 |
26 | + ADMUX <- 0b00010000 | ||
27 | + ADCSRB <- 0b00000000 | ||
28 | + ADCSRA <- 0b11100101 | ||
26 | tab jour_lettre_1 = [70, 6E, 6E, 1C, 7C, 5B, 7E] | 29 | tab jour_lettre_1 = [70, 6E, 6E, 1C, 7C, 5B, 7E] |
27 | tab jour_lettre_2 = [7C, 6C, 73, 73, 73, 6F, 0C] | 30 | tab jour_lettre_2 = [7C, 6C, 73, 73, 73, 6F, 0C] |
28 | tab chiffre = [7E, 0C, 37, 17, 4D, 5B, 7B, 0E, 7F, 5F] | 31 | tab chiffre = [7E, 0C, 37, 17, 4D, 5B, 7B, 0E, 7F, 5F] |