|
Please excuse me for being a noob:
Trying to write a clock that uses only one seven segment LED (you know, for fun), so I am trying to do a conversion from an integer supplied by minute() (from the Time library) into an array of single digits. For instance, to convert, say 42 into an array that is like myminute[3]={'4','2'} or even better into int myminute[3]={4,2}.
I thought I had read the itoa manual correctly thinking that itoa(minute(),myminute,3) would yield the desired affect, but not!
So, a little prodding for this old, balding perl programmer would be helpful.
Blake
|