python-periphery icon indicating copy to clipboard operation
python-periphery copied to clipboard

[request] MicroPython support

Open biemster opened this issue 9 months ago • 0 comments

For resource constrained devices, who often run OpenWrt which has MicroPython in its repo, this package would make a lot of sense since for example I2C and SPI are used a lot on those.

I've been trying to get the SPI code working on this, as a drop in replacement for machine.SPI, and need to make a couple adjustments since ctypes is missing a couple types, array has no buffer_info() and stuff like that. Also machine.SPI has several read and write functions, not just transfer.

It would be awesome to see the other peripherals ported as well.

biemster avatar Oct 12 '23 13:10 biemster