Skip to content
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

setColumn function seems to use Arduino pin 2? #40

Open
enauman opened this issue Aug 19, 2020 · 2 comments
Open

setColumn function seems to use Arduino pin 2? #40

enauman opened this issue Aug 19, 2020 · 2 comments

Comments

@enauman
Copy link

enauman commented Aug 19, 2020

I am using a Teensy LC, connecting 2 5X8 LED matrixes with 2 daisy chained MAX 2719s, using pins 10,11,12 for the chips, but also have a 7-seg display connected to free pins including 0-9, and 18,19. All is good until I call lc.setColumn() and it seems to set pin 2 LOW, turning off that segment on the 7-seg display. Note the 7-seg is not using a MAX 2719, just all pins directly to Teensy pins.
Is setColumn somehow using pin 2?

@enauman
Copy link
Author

enauman commented Aug 19, 2020

Ah I see it in the setLed function, I will see how to work around this:
if(column == 8) { digitalWrite(2,HIGH); } else { digitalWrite(2,LOW); }

@enauman
Copy link
Author

enauman commented Aug 19, 2020

Don't see the purpose of that code, just commented out and it's fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant