New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading from Adafruit's Tutorial #9

Closed
GantMan opened this Issue Oct 30, 2014 · 6 comments

Comments

Projects
None yet
2 participants
@GantMan
Copy link

GantMan commented Oct 30, 2014

Hi, I'm new to the Raspberry Pi, and I've recently implemented the display using Adafruit's tutorial, which can be found here: https://learn.adafruit.com/connecting-a-16x32-rgb-led-matrix-panel-to-a-raspberry-pi/overview

This code is based off an old fork of your code: https://github.com/Boomerific/rpi-rgb-led-matrix

I've successfully built a nice display, and even made a nice Sinatra website that powers the board's images. I'm looking to upgrade to a 32x32 display and consider using text for my next one, which is how I tracked down the original, here. Unfortunately, switching to your code, everything is upside-down!

I'm going to be working with some people in a local Maker space, and I'm wondering if there's a simple way to flip the output, so that people who complete the Adafruit tutorial, can upgrade to your constantly evolving repo, over being stuck on the other?

@hzeller

This comment has been minimized.

Copy link
Owner

hzeller commented Oct 30, 2014

(Someone should tell the Adafruit people that the current code is much more ... current :) )

You could just implement a Canvas that does something like 32-y or something (don't know which side is flipped for you). But should be a matter of a couple of lines of codes and things just work.

@GantMan

This comment has been minimized.

Copy link

GantMan commented Oct 30, 2014

agreed. If I didn't already mount it to a piece of wood, and heatshrink everything this would be easier.

Thanks for your input. I'm just going to build another one (I could fork your code and make my changes, but then I'm in the same boat as Adafruit, with an aging fork). I want to get it so others can follow, because i"m running a website on top of your code.

wish me luck!

@hzeller

This comment has been minimized.

Copy link
Owner

hzeller commented Oct 30, 2014

The current version, you can use as library, so you don't need to fork my code. Have a look at the point where it mentions sub-modules (and look at the pixelpusher repository)
Good luck :)

@GantMan

This comment has been minimized.

Copy link

GantMan commented Oct 30, 2014

If I were to implement a flag to flip the screen upside down and send it back as a pull-request, would you be open to accepting it? This way some of us can keep our hardware mounts/cutouts the same?

specifically this flag would be on demo

@hzeller

This comment has been minimized.

Copy link
Owner

hzeller commented Nov 1, 2014

I think if you build a generic Canvas that maps the coordinates to be upside down and then expose that as a flag - if set, then the canvas used for the demos is is wrapped in your coordinate-flipping canvas. I would accept such a pull request.

@hzeller

This comment has been minimized.

Copy link
Owner

hzeller commented Jul 1, 2015

Closing this issue, as the original thing has been resolved.

@hzeller hzeller closed this Jul 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment