main
Last change
on this file since 6f22754 was 6f22754, checked in by Adrien Destugues <pulkomandy@…>, 5 years ago |
blinkled: cleanup a bit
I get bored of editing too much things in there after a while...
|
-
Property mode
set to
100644
|
File size:
654 bytes
|
Line | |
---|
1 | Blinkled
|
---|
2 | ========
|
---|
3 |
|
---|
4 | Well, the name says it all. This just blinks a led every second (assuming 16MHz
|
---|
5 | clock). This is a generic project I use to check my boards are alive. As a
|
---|
6 | result, I'll try to make the code easily configurable. Ideally, you'd just set
|
---|
7 | some variables in the makefile, type "make flash", and get going.
|
---|
8 |
|
---|
9 | The LED is expected to be on PD6. Why? Because all boards I had to use so far
|
---|
10 | had a led there or could easily have one. But if you happen to have a LED
|
---|
11 | somewhere else, it's super easy to change which pin is used, right?
|
---|
12 |
|
---|
13 | All other pins are kept as input. I assume this way nothing should be damaged,
|
---|
14 | no matter where this code is run.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.