From 10f12f31cd08401c39938b5d4da058f68dc516b5 Mon Sep 17 00:00:00 2001 From: lucic71 Date: Sat, 6 Jun 2020 14:00:52 +0300 Subject: [PATCH] Added readme --- 7_segment_display/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 7_segment_display/README.md diff --git a/7_segment_display/README.md b/7_segment_display/README.md new file mode 100644 index 0000000..dc9a87d --- /dev/null +++ b/7_segment_display/README.md @@ -0,0 +1,22 @@ +7 SEGMENT DISPLAY + +segment.s implements the logic behind displaying numbers between 0 and 9 on +a 7 segment display. The PIN configuration is the following: + + * a - DIGITAL PIN 0 + * b - DIGITAL PIN 1 + * c - DIGITAL PIN 2 + * d - DIGITAL PIN 3 + * e - DIGITAL PIN 4 + * f - DIGITAL PIN 5 + * d - DIGITAL PIN 6 + +All these PINs are connected on PORTD, so we need to keep that in mind when +writing our output to the correct PORT. + +The boolean formulas used to configure the PINs are calcualted using +Karnaugh Diagrams. + +As a final word, don't forget to add resistors in series with each display +PIN, on the breadboard, because I forgot to do so and I completely screwed +a display.