add comment for pinout

This commit is contained in:
Lea 2023-09-08 10:49:26 +02:00
parent 7ac3c0db18
commit d304b2bc93
Signed by: Lea
GPG key ID: 1BAFFE8347019C42

11
main.c
View file

@ -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;