Of course that is "minimum digit on time of 100 and a maximum digit on time 
of 999". Doh! Fat fingers and early morning make many typo...

On Sunday, 20 November 2016 08:38:00 UTC+1, Ian Sparkes wrote:
>
> Hi Nick
>
> controllers nowadays are easily fast enough to do very smooth fading even 
> when dimmed. I do 6 iterations (one for each digit) of 1000 counts (for 
> dimming and fading of each digit) with a minimum digit on time of 1000 and 
> a maximum digit on time of 999. I calculate the switch from old to new 
> digit based on the percentage of the fade that is done and the dim factor. 
> This gives smooth dimming when fully on, or fully dimmed, or anywhere in 
> between.
>
> There's still easily enough time to do all the other work that's needed 
> outside the loop.
>
> You have one of my early clocks modules don't you? I should arrange a 
> firmware update for you, the hardware is largely the same, but the firmware 
> has come on leaps and bounds.
>
> Ian
>
>
> On Sunday, 13 November 2016 15:10:49 UTC+1, Nick wrote:
>>
>> Just wondering what people's favorite smooth cross-fading algorithms 
>> were, assuming that they're prepared to share !
>>
>> I tend to PWM down one digit and PWM up the next over a short interval, 
>> but others will have their own methods...
>>
>> Nick
>>
>

-- 
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/479bc4d8-a087-48da-ab85-20f9cac7df6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to