Table of Contents

Advertisement

SHIFTOUT

Shift bits out synchronously.
usage:
SHIFTOUT dpin,cpin,mode,[data{\bits},...]
Dpin is the data output.
Cpin is the clock output.
Mode is 0 for lsb-first or 1 for msb-first.
Data is a value to be shifted out.
Bits is an optional bit count. Values from 1-16 can be given; 8 is the
default.
The following symbols are defined for use with SHIFTOUT:
Symbol
LSBFIRST
MSBFIRST
Data is shifted out at approximately 16 kbits per second.
BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333 • Page 63
BASIC Stamp II
Value
0
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BASIC Stamp II and is the answer not in the manual?

Table of Contents