here are the family jewels:

https://github.com/isparkes/ArdunixNix6/blob/master/ardunixFade9_6_digit/ardunixFade9_6_digit.ino

In particular line 2000 - 2137 is the main display loop, which does each of
the 6 digits in turn.
Line 2013-2136 is for each digit.
For fading (20138-2044) we set the digitOffTime which is where we control
the dimming (min digitOffTime is 100, max 999)
In lines 2092-2110 we detect if there has been a digit change between the
new value we are to show and the old one (2093)
If there is and we are not already in a fade, we set up the fade counter
with the initial value (2096)
If we are in a fade, we just continue (2101-2110) until we know it is time
to stop (2012-2105)

Now we have all the values set up to do a single impression

2116-2128 does the impression of a single digit, switching the value at the
appropriate point.

All clear? %-)



On 22 November 2016 at 12:01, Nick <[email protected]> wrote:

> Hi Ian - do you have a link to the repository?
>
> Thanks
>
> Nick (the UAE one)
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "neonixie-l" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/neonixie-l/bh7kymv2xQA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web, visit https://groups.google.com/d/
> msgid/neonixie-l/b2f2db98-1ccb-4f42-bf1a-3f8663323144%40googlegroups.com
> <https://groups.google.com/d/msgid/neonixie-l/b2f2db98-1ccb-4f42-bf1a-3f8663323144%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/neonixie-l/CAGgg%3DS0uxA%2BKFWkjR1%3DdeOB2uOenfvU9Q4yb-5XWPdBmr9RORA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to