Notifications
Clear all
Topic starter
E.g. for a 16x2 I2C LCDs or GPIO programming examples in general?
Posted : 30/11/2024 4:52 pm
Vivid Unit provides a 40-pin GPIO header compatible with Raspberry Pi, so many Raspberry Pi examples can be adapted to work on Vivid Unit.
You can find more information about Vivid Unit's GPIO on this page.
The pre-installed vgp application can be used to minotor and control the GPIOs.
For your own program, you may use the gpiod library. We recently put the source code for vcool on GitHub, which use gpiod library to output PWM on GPIO 4D1.
For I2C applications, please note that Vivid Unit uses I2C Bus ID 2, while Raspberry Pi uses I2C Bus ID 1. This means that when adapting examples, you need to modify the I2C bus ID in the code accordingly.
Posted : 02/12/2024 8:24 am