CirnOS
CirnOS copied to clipboard
Add Lua wrappers for I2C, SPI and PWM
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.
I have added wrappers for hardware PWM. This leaves I2C, SPI, and software PWM.
I have added complete SPI wrappers, this leaves just I2C and software PWM.