andInformation:
The spiin (shiftin also accepted by the compiler) command is a ‘bit-bang’ method
of SPI communication on the X1 and X2 parts ONLY. All other parts must use the
sample program included overleaf to duplicate this behaviour.
For a hardware solution for X1/X2 parts see the ‘hshin’ command.
Other PICAXE microcontrollers do not have a direct spiin (shiftin) command.
However the same functionality found in other products can be achieved by
using the sub procedures listed overleaf.