Problem Description:
Fill in the chart to show which segments are HIGH(1) or LOW(0) in each time step for segments a-g
The 7-segment display is common Anode.
segment/step | 1 | 2 | 3 | 4 | Is this pin the same as any others? |
---|---|---|---|---|---|
a | |||||
b | |||||
c | |||||
d | |||||
e | |||||
f | |||||
g |
How many different, unique sequences of HIGH/LOW are there?
What pins would you use on the Arduino? (one for each unique sequence) Declare them.
void setup() {
// declare each pin as input or output
}
Use a counter loop to display the sequence
Wire a 7-segment display with 220-330 Ohm resistors on each segment to make the circuit work.