-->
Page 1 of 1

SPI command

PostPosted: Thu Feb 04, 2016 6:33 am
by matherp
Mike

It would be great if you could write a simple 8-bit bit-bang SPI function for inclusion. Bit-banging in Basic is too slow for things like MAX7219 driving LED displays to be usable.

Format could be something like:

spiindata = SPI(spimode(0-3),spioutpin,spiinpin,spiclkpin,datatosend)

This would allow all sorts of interesting devices to be used.

Control of CS would be from Basic using standard "po" commands

Thanks

Peter