Question: This is an Arduino program, which uses the shift register to control the LED lamp. I have connected the circuit, but I don't know how

This is an Arduino program, which uses the shift register to control the LED lamp. I have connected the circuit, but I don't know how to write the Arduino C code. The circuit diagram is shown below.
Instruction
Demo #1: Master basic operation of a shift register using eight LEDs and one shift register.
1. Using the data sheet from the previous task, plan out the placement of a shift register with a set of 8 LEDs and their accompanying resistors. Shift register signals that you will need to control via the Arduino are SERial input (SER), the Shift Register clock (SRCLK), and the output Register clock (RCLK). Shift register signals that you will need to control using the power rails are OE and MRCLR.
2. Wire up a shift register and a set of eight LEDs.
3. Consider carefully whether the LSB or MSB needs to be loaded first! Implement the code to light up a single LED and make it travel, bouncing from end to end at some pleasing speed.
I only need arduino C language code.
This is an Arduino program, which uses the shift register to control

... . .... 56 . . FOHIS

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!