Raspberry Pi and some LPD8806s

Hi!

I’ve managed to create the driver to run a matrix of LPD8806s via python and looking through the library, but can’t figure out how to do with via the YAML files. Is it supported through the YAML? The documentation only shows setup of a serial device but I’m just using SPI.

Thanks in advance,
Joseph

We’re rolling out a new docs site shortly which should address much more.In the mean time, here’s an example

        "driver": {
"typename": "spi",
"ledtype": "LPD8806",
"num": 360,
"dev": "/dev/spidev0.0",
"interface": "PERIPHERY",
"spi_speed": 4,
"c_order": "BRG"
}

Note, you’ll need this installed -> https://pypi.org/project/python-periphery/

I assume this is on a Raspberry Pi?

···

On Tue, Oct 2, 2018 at 8:18 PM Joseph Antony kirr250631@gmail.com wrote:

Hi!

I’ve managed to create the driver to run a matrix of LPD8806s via python and looking through the library, but can’t figure out how to do with via the YAML files. Is it supported through the YAML? The documentation only shows setup of a serial device but I’m just using SPI.

Thanks in advance,
Joseph

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/cb0256ba-5bf1-4490-af35-5976bcda849b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Oops, you said yaml:

typename: spi

ledtype: LPD8806

num: 360

dev: “/dev/spidev0.0”

interface: PERIPHERY

spi_speed: 4

c_order: BRG

driver:
···

On Tue, Oct 2, 2018 at 9:25 PM Adam Haile adammhaile@gmail.com wrote:

We’re rolling out a new docs site shortly which should address much more.In the mean time, here’s an example

        "driver": {
"typename": "spi",
"ledtype": "LPD8806",
"num": 360,
"dev": "/dev/spidev0.0",
"interface": "PERIPHERY",
"spi_speed": 4,
"c_order": "BRG"
}

Note, you’ll need this installed -> https://pypi.org/project/python-periphery/

I assume this is on a Raspberry Pi?

On Tue, Oct 2, 2018 at 8:18 PM Joseph Antony kirr250631@gmail.com wrote:

Hi!

I’ve managed to create the driver to run a matrix of LPD8806s via python and looking through the library, but can’t figure out how to do with via the YAML files. Is it supported through the YAML? The documentation only shows setup of a serial device but I’m just using SPI.

Thanks in advance,
Joseph

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/cb0256ba-5bf1-4490-af35-5976bcda849b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Works perfectly on a Pi Zero yeah, thanks!

···

On Tuesday, 2 October 2018 21:26:05 UTC-4, Adam Haile wrote:

We’re rolling out a new docs site shortly which should address much more.In the mean time, here’s an example

        "driver": {
"typename": "spi",
"ledtype": "LPD8806",
"num": 360,
"dev": "/dev/spidev0.0",
"interface": "PERIPHERY",
"spi_speed": 4,
"c_order": "BRG"
}

Note, you’ll need this installed -> https://pypi.org/project/python-periphery/

I assume this is on a Raspberry Pi?

On Tue, Oct 2, 2018 at 8:18 PM Joseph Antony kirr2...@gmail.com wrote:

Hi!

I’ve managed to create the driver to run a matrix of LPD8806s via python and looking through the library, but can’t figure out how to do with via the YAML files. Is it supported through the YAML? The documentation only shows setup of a serial device but I’m just using SPI.

Thanks in advance,
Joseph

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/cb0256ba-5bf1-4490-af35-5976bcda849b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.