shiftin, shiftout 08M

Wisht

New Member
Hi,
(Did a forum search and a FAQ-browse for this but nothing - might not be using it correctly of course: 'dreaded newbie' questions follow...

I was delighted :D to find shiftin and shiftout in Manual Section 2 applying to the picaxe-08M.

Not so happy :( to find;

The editor appears not to support Shiftin/out with 08m selected.
The 08M seems not :eek: to have the command (from googling => suspect).

Is there a firmware version that will allow the commands please?
I am not setting-up correctly, (select 08M in editor)?
Is it just 'one of those things' and I should quit wailing and use the work-around?
 

hippy

Technical Support
Staff member
Welcome to the PICAXE forum.

As the manual states under the SPIIN/SHIFTIN and SPIOUT/SHIFTOUT comamnds; "The spiin [spiout] (shiftin [shiftout] 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".

The 'work-around' code given is the way to implement SPI and SHIFT commands on non-X1 and non-X2 parts such as the 08M. There is no 08M firmware which supports those commands.
 

Wisht

New Member
Thanks

It would seem then that the 08m is referenced because the work-around is there. Doh!

Thankyou, I'll get back to it now then.
 
Top