From d304b2bc93b481e1d4040eaf2b3f5e27603195df Mon Sep 17 00:00:00 2001 From: Lea Date: Fri, 8 Sep 2023 10:49:26 +0200 Subject: [PATCH] add comment for pinout --- main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/main.c b/main.c index b4a61f7..95d20fd 100644 --- a/main.c +++ b/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;