|
|
发表于 2014-2-5 20:52:51
|
显示全部楼层
官网:http://arduino.cc/en/Reference/shiftOut 上有详细的解说,还有例子可以去看看,下面是节选:
Syntax
shiftOut(dataPin, clockPin, bitOrder, value)
Parameters
dataPin: the pin on which to output each bit (int)
clockPin: the pin to toggle once the dataPin has been set to the correct value (int)
bitOrder: which order to shift out the bits; either MSBFIRST or LSBFIRST.
(Most Significant Bit First, or, Least Significant Bit First)
value: the data to shift out. (byte) |
|