Table of Contents

Advertisement

SHIFTIN

Shift bits in synchronously.
usage:
SHIFTIN dpin,cpin,mode,[variable{\bits},...]
Dpin is the data input.
Cpin is the clock output.
Mode is 0 for msb-first/pre-clock, 1 for lsb-first/pre-clock, 2 for msb-
first/post-clock, or 3 for lsb-first/post-clock.
Variable receives the shifted-in data.
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 SHIFTIN:
Symbol
MSBPRE
LSBPRE
MSBPOST
LSBPOST
Page 62 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333
BASIC Stamp II
Value
0
1
2
3

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