Skip to content

Commit 41eba1e

Browse files
Update README.md
1 parent 9c84ff6 commit 41eba1e

File tree

1 file changed

+17
-22
lines changed

1 file changed

+17
-22
lines changed

README.md

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -98,36 +98,31 @@ here are the steps to create the project:
9898

9999
1. Make sure that you change the
100100
7-Segment Display common terminal to
101-
`cathode`.
102-
103-
![setup](https://github.com/xdvrx1/single-display-arduino-project/blob/main/res/src6.png?raw=true)
101+
`cathode`. ![setup](https://github.com/xdvrx1/single-display-arduino-project/blob/main/res/src6.png?raw=true)
104102

105103
2. Follow the proper wiring:
106-
107-
|Arduino Pin|Segment Pin|
108-
|:---:|:---:|
109-
|13|G|
110-
|12|F|
111-
|11|A|
112-
|10|B|
113-
|9|E|
114-
|8|D|
115-
|7|C|
116-
|6|DP|
104+
105+
|Arduino Pin|Segment Pin|
106+
|:---:|:---:|
107+
|13|G|
108+
|12|F|
109+
|11|A|
110+
|10|B|
111+
|9|E|
112+
|8|D|
113+
|7|C|
114+
|6|DP|
117115

118116
3. Close the circuit by the GND. Use a resistor
119117
that is exactly 200 ohms (left resistor
120118
when facing the screen) and 100 ohms for
121119
the other one.
122-
123120
left:
124121
![left](https://github.com/xdvrx1/single-display-arduino-project/blob/main/res/src10.png?raw=true)
125-
126122
right:
127123
![right](https://github.com/xdvrx1/single-display-arduino-project/blob/main/res/src9.png?raw=true)
128124

129125
4. Copy paste the program below:
130-
131126
```
132127
unsigned const int A = 13;
133128
unsigned const int B = 12;
@@ -300,11 +295,11 @@ void loop(void)
300295
}
301296
```
302297

303-
The code will simply have the countdown
304-
but the individual function for a certain
305-
number can be used several times for your
306-
own version. Simply invoke the function
307-
inside the `void loop`.
298+
The code will simply have the countdown
299+
but the individual function for a certain
300+
number can be used several times for your
301+
own version. Simply invoke the function
302+
inside the `void loop`.
308303

309304
5. Of course, simulate the program!
310305

0 commit comments

Comments
 (0)