GITLAB
ezalczer
/
Tutorat_microP
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
e013f7906b0ed5f0feb67807c3f0ec9ee5ef76dc
Authored by
gwaterlo
2017-05-29 13:21:21 +0200
1 parent
ab6a4621
Ajout init timer0
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
Algorithme
Inline
Side-by-side
Algorithme
Wrap text
Show/Hide comments
View file @
e013f79
...
...
@@ -44,6 +44,12 @@ debut:
44
44
DDRC = 0x0F
45
45
DDRD = 0x03
46
46
DDRF = 0x02
47
+ OCR0A->250
48
+ OCR0B = 0x00
49
+ TCCR0A = 0xC2
50
+ TCCR0B = 0x04
51
+ TIMSK0 = 0x02
52
+ TIFR0 = 0x02
47
53
EIMSK = 0x037
48
54
EICRA = 0x06
49
55
EICRB = 0x00
...
...