Help getting started with SPI - GPIO or i2c
Posted: Tue Feb 28, 2017 1:47 am
Hello,
I was wondering if anyone could help me in getting started setting up either an SPI or i2c based script so that i can drive a string of RGB LEDS via bit banging.
I need the ability to configure the clock to do this, really im just looking for an example to show how to configure the environment for the SPI/i2c script. Everything im finding is about spi-gpio-custom, and it uses a lower linux kernel than the os that comes on the VoCore2 so i cannot use it.
Any help is greatly appreciated!
I was wondering if anyone could help me in getting started setting up either an SPI or i2c based script so that i can drive a string of RGB LEDS via bit banging.
I need the ability to configure the clock to do this, really im just looking for an example to show how to configure the environment for the SPI/i2c script. Everything im finding is about spi-gpio-custom, and it uses a lower linux kernel than the os that comes on the VoCore2 so i cannot use it.
Any help is greatly appreciated!