CirnOS icon indicating copy to clipboard operation
CirnOS copied to clipboard

Add Lua wrappers for I2C, SPI and PWM

Open mchlmmc opened this issue 6 years ago • 2 comments

Currently userspace Lua code can only read/write to the SD Card, print to the screen, and read/write GPIO pins digitally.

CirnOS users would be able to accomplish much more if they could also use the Raspberry Pi's built in abilities for I2C, SPI, and PWM communication. Such features would allow CirnOS to do everything that an Arduino can, making it much more viable for electronics projects.

mchlmmc avatar Sep 04 '18 05:09 mchlmmc

I have added wrappers for hardware PWM. This leaves I2C, SPI, and software PWM.

mchlmmc avatar Sep 05 '18 02:09 mchlmmc

I have added complete SPI wrappers, this leaves just I2C and software PWM.

mchlmmc avatar Sep 06 '18 06:09 mchlmmc