add comment for pinout
This commit is contained in:
parent
7ac3c0db18
commit
d304b2bc93
11
main.c
11
main.c
|
@ -9,6 +9,17 @@
|
|||
#include "lib/7segment.h"
|
||||
#include "lib/7segment_4digits.h"
|
||||
|
||||
/**
|
||||
* O O O O O O O O
|
||||
* DDRF x x x x x x x x
|
||||
* \-\-\-\-\-\-\-\--- 7 segment output
|
||||
*
|
||||
* I I O O O O O O
|
||||
* DDRK x x x x x x x x
|
||||
* | | \-\-\-\--- digit selection output
|
||||
* \-\--------------- Button input
|
||||
*/
|
||||
|
||||
void main() {
|
||||
DDRF = 0b11111111;
|
||||
DDRK = 0b00001111;
|
||||
|
|
Loading…
Reference in a new issue