[sdiy] DCO Question
Tim Ressel
timr at circuitabbey.com
Thu Nov 2 18:15:03 CET 2017
#define LFO_MAX 4294967295
volatile unsigned long Lfo1_DCO,Lfo2_DCO; // accumulators for
the DCOs
volatile unsigned long Lfo1_INC,Lfo2_INC; // increments for
the DCOs
On 11/2/2017 10:07 AM, MTG wrote:
> Here is my insanity check against future possible bugs. I'm not sure
> what the data types are here. Unsigned something?
>
> On 11/2/2017 9:56 AM, Tim Ressel wrote:
>> if(Lfo1_DCO >= LFO_MAX) // were at max; go to zero
>> Lfo1_DCO=0;
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at synth-diy.org
> http://synth-diy.org/mailman/listinfo/synth-diy
--
--Tim Ressel
Circuit Abbey
timr at circuitabbey.com
More information about the Synth-diy
mailing list