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

7 Segment HELP! #1

Open
jimallen60 opened this issue Apr 15, 2014 · 0 comments
Open

7 Segment HELP! #1

jimallen60 opened this issue Apr 15, 2014 · 0 comments

Comments

@jimallen60
Copy link

I am stuck, I have built a GPS clock using your sketch configuration. I really like the possibilities since this will be installed in Motor Home. I really need to use a 7 segment display, and I can not get the display to show more than one time segment. I can get hour or minutes, but not both. I am using an AdaFruit 7 segment LED with a backpack so the addressing is DEC over two wire analog.

This is the string in the void setup {
#ifndef AVR_ATtiny85
//Serial.begin(9600);
Serial.println(" CJ's GPS Clock ");
#endif
matrix.begin(0x70);
//Serial.write(0x70); //These should be the commands to dim the led
//Serial.write((byte)25); //These should be the commands to dim the led
}

Here is the string I added to the void loop
{
matrix.print(utc_hour, utc_second, DEC); // (utc_minutes, DEC);
matrix.writeDisplay();
delay(500);

I placed this just above your serial.print statements.

What I am looking for is to display the utc_hour & utc_minutes

Any advise would be greatly appreciated

Jim

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