Another question: Can I use the TWI-interface from inside lua-code?
I have some Port-Expanders hooked to a Raspberry with TWI, and I want to use them as part of my lua-code to control some LEDs
Can I use TWi from within lua-code`?
Can I use TWi from within lua-code`?
Air Manager 3.6 Home Use - Rpi AirpLayer with 7" Touchscreen
Re: Can I use TWi from within lua-code`?
Hi,
I'm afraid I am saying no all the time to you, but this is a no as well .
It you want i2c, I would suggest you use an Arduino, and use the message port to communicate with AM/AP (it uses UART).
Corjan
I'm afraid I am saying no all the time to you, but this is a no as well .
It you want i2c, I would suggest you use an Arduino, and use the message port to communicate with AM/AP (it uses UART).
Corjan
Re: Can I use TWi from within lua-code`?
Change your mind? One can do pretty funny things with those buses (TWI, SPI etc.)
Air Manager 3.6 Home Use - Rpi AirpLayer with 7" Touchscreen
Re: Can I use TWi from within lua-code`?
Hey,
We plan to create a raspberry hat, where you can attach more I/O to, specially aimed for cockpit builders. It also uses twi to operate.
So that is the main reason why we won't put it in the lua API.
Another reason is that we want to keep the lua API as functional as possible. So no byte protocol stuff; although the message port is kinda of an exception to that rule
Corjan
We plan to create a raspberry hat, where you can attach more I/O to, specially aimed for cockpit builders. It also uses twi to operate.
So that is the main reason why we won't put it in the lua API.
Another reason is that we want to keep the lua API as functional as possible. So no byte protocol stuff; although the message port is kinda of an exception to that rule
Corjan