@@ -98,36 +98,31 @@ here are the steps to create the project:
9898
99991 . Make sure that you change the
1001007-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
1051032 . 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
1181163 . Close the circuit by the GND. Use a resistor
119117that is exactly 200 ohms (left resistor
120118when facing the screen) and 100 ohms for
121119the 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
1291254 . Copy paste the program below:
130-
131126```
132127unsigned const int A = 13;
133128unsigned 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
3093045 . Of course, simulate the program!
310305
0 commit comments