Post
by **Phil-S** » Wed Jan 30, 2019 10:48 am

Hello

I have a couple of these modules bought very recently and am now working through examples etc. and your library.

I tried displaying some decimal values using the HCMAX7219.print7Seg(Value, DP, Digits, Offset) method, but it throws up an error. Going through the h and cpp files (downloaded 29jan2019 from your repository at github) and noticed that the function only takes 3 arguments, not 4, hence the error. Which is correct?

The other problem I am having is the way an incrementing count, say 0 to 9999, is filling the digits. I'm used to seeing digits filling the units in rightmost display, then 10's in the second from the left and so on.

What I am seeing is the units filling the digit set by OFFSET, then 10's filling the OFFSET digit, shoving the units right, then this being repeated until 9999 is displayed with the thousands at digit 7, hundreds at digit 6, tens at digit 5 and units at digit 4 (digit 8 is the leftmost).

I hope this is understandable.

How do I, if possible, set it up so that units stay at digit 1, 10's in digit 2, 100's in digit 3 and 1000's in digit 4?

Eventually, I want to count pulses up to 99999999.

Thanks