SPI command
Posted: Thu Feb 04, 2016 6:33 am
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
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