I am working on a POV clock that is giving me a hard time in the coding department. I am at a point where I have been able to get data from a RTC breakout board and store the values. I also have been able to assign those values to a predefined character set for the POV. I am able to display the Hours values, the minutes values, and the seconds values. HOWEVER, I can only display them individually and not all at once. I think I am not creating either a string or an array correctly.
Here is a part of my sketch that deals with this issue:
- Code: Select all
int Hrs = now.hour();
int Mins = now.minute();
int Sec = now.second();
int Time =(Hrs, Min, Sec);
//This is just for debugging. Just to see what is being sent to the LED's
Ok, at this point when I put all three values in "int Time" all I get is my seconds value printing out on the serial monitor and on my POV clock.
How can I get it to show all individual values. Keep in mind, I am only using the Serial.print command here JUST to see whats being sent to my POV display.