Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4787

Shiftout question about the manual statement

$
0
0
In the PBP3 manual there is this paragraph:

SHIFTOUT is a software-based command and does not require that the target device have synchronous serial capability. The ClockPin and DataPin parameters may be set to any digital I/O pins, and may be different in different commands within the same program.
\Bits optionally specifies the number of bits to be shifted out. If it is not specified, 8 bits are shifted out, independent of the variable type. The Bits shifted out are always the low order bits, regardless of the Mode used, LSB or MSB. Up to 32 Bits can be shifted out of a single (long) variable. If more than 32 Bits are required, multiple variables or constants may be included between the square brackets.


I am trying to understand the statement that is underlined, can anyone help?
does it mean that if you use the /Bits modifier at all that the bit order is not affected by Mode ?

Thanks!

Viewing all articles
Browse latest Browse all 4787

Trending Articles