hthang1988 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

shiftIn() function. #280

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

A shiftIn() function along the lines of the one in the sample code at 
http://www.arduino.cc/en/Tutorial/ShiftIn

We might also need/want a bit-order option to match shiftOut().

Original issue reported on code.google.com by dmel...@gmail.com on 4 Jul 2010 at 5:11

GoogleCodeExporter commented 9 years ago
Wiring has recently added ShiftIn() and ShiftOut() with bit-order, and optional 
size and delay.

See here:
http://wiring.uniandes.edu.co/source/trunk/wiring/core/WShift.cpp?revision=744&v
iew=markup

And here (for prototypes):
http://wiring.uniandes.edu.co/source/trunk/wiring/core/WProgram.h?revision=744&v
iew=markup

Original comment by rogue.bh...@gmail.com on 17 Jul 2010 at 7:40

GoogleCodeExporter commented 9 years ago
r1058

Original comment by dmel...@gmail.com on 11 Aug 2010 at 10:59