This shows you the differences between two versions of the page.
arduino:advanced_io:shiftout [2013/02/15 18:20] Daniel Gohlke |
arduino:advanced_io:shiftout [2024/02/16 01:04] (current) |
||
---|---|---|---|
Line 27: | Line 27: | ||
====Note ==== | ====Note ==== | ||
- | The **dataPin** and **clockPin** must already be configured as outputs by a call to [[pinMode]](). | + | The **dataPin** and **clockPin** must already be configured as outputs by a call to [[pinMode]]. |
**shiftOut** is currently written to output 1 byte (8 bits) so it requires a two step operation to output values larger than 255. | **shiftOut** is currently written to output 1 byte (8 bits) so it requires a two step operation to output values larger than 255. | ||
Line 52: | Line 52: | ||
====Example ==== | ====Example ==== | ||
- | ''For accompanying circuit, see the [[Tutorial/ShiftOut | tutorial on controlling a 74HC595 shift register]].'' | ||
<code arduino> | <code arduino> |