BiblioPixel on Raspberry PI

Hello,

because I didn’t need my ambilight anymore I wanted to do something new.
I glued the LPD8806 strip as a matrix on a plate. Then it took me some days to get everything to work on a raspi3b.

Following yaml-code works, but the text runs from the bottom to the top, turned 90 degrees and the letters are mirrored.

How to I rotate and flip the output?

Here is the used code:

shape: [8,20]

driver:
typename: spi
ledtype: LPD8806
num: 160
dev: “/dev/spidev0.0”
interface: PERIPHERY
spi_speed: 4
c_order: GRB

LED order:

01 16 17

02 15 18

03 14 19

04 13 20

05 12 21

06 11 22

07 10 23 and so on…

08 09 24 25

#I think, I need something like this

#layout:

Rotate: 270 (or 90?)

Flip: horizontal

animation:
typename: $bpa.matrix.Text.ScrollText
text: ‘This sentence no verb!’

What is the right solution, I did not find the right hint.

Regards,

Holger

Hello, Holger! Always willing to help a fellow fan of Douglas Hofstadter! :smiley:

Some books still have a place in my book shelf. (See att. :wink: )

Thank you for this very fast help. I managed it with your information. Now I know what I have to do this weekend. I will deal with yaml a bit.

Greetings,

Holger

drhbks.jpg

mtrxvrb.jpg

···

On Saturday, 1st Dec. 2018 16:33:17 UTC+1 Tom Swirly wrote:

You should be able to simply add this to your project:

layout:

rotation: 90

y_flip: True

For historical reasons, the twin of y_flip is vert_flip, sorry about that!

On Sat, Dec 1, 2018 at 4:23 PM ‘Holger S.’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Hello,

because I didn’t need my ambilight anymore I wanted to do something new.
I glued the LPD8806 strip as a matrix on a plate. Then it took me some days to get everything to work on a raspi3b.

Following yaml-code works, but the text runs from the bottom to the top, turned 90 degrees and the letters are mirrored.

How to I rotate and flip the output?

Here is the used code:

shape: [8,20]

driver:
typename: spi
ledtype: LPD8806
num: 160
dev: “/dev/spidev0.0”
interface: PERIPHERY
spi_speed: 4
c_order: GRB

LED order:

01 16 17

02 15 18

03 14 19

04 13 20

05 12 21

06 11 22

07 10 23 and so on…

08 09 24 25

#I think, I need something like this

#layout:

Rotate: 270 (or 90?)

Flip: horizontal

animation:
typename: $bpa.matrix.Text.ScrollText
text: ‘This sentence no verb!’

What is the right solution, I did not find the right hint.

Regards,

Holger

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/0ce12feb-da81-4804-a77a-1889256b80d3%40googlegroups.com.

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


/t

https://tom.ritchford.com

https://tom.swirly.com