Main Content

Shift Registers

Read from and write to shift registers connected to Arduino®hardware

Shift registers are used to add additional inputs or outputs to an Arduino board. You can use the serial-in/parallel-out shift registers to control multiple outputs, or the parallel-in/serial-out shift registers to gather multiple inputs using one pin on an Arduino board. For example, you can control multiple LED lights using a single pin on an Arduino board. You can use the shift register functions to read or write serial data. The following shift registers are supported:

Create an Arduino object usingarduinobefore you use shift register functions. SeeConnect to Arduino Hardwarefor more information.

Functions

shiftRegister 连接到移位寄存器Arduinohardware
read Read data from shift register
write Write data to shift register
reset Clear all outputs of shift register

Topics