Hi Woody CALCRAND is exactly as you say, seeding the RAND function from a 16MHz real-time clock in the TCNT reserve word. (Grant may want to tweak this response as he wrote CALCRAND) but, as far as i know, TCNT is only documented the Hitachi manual. You may notice that the initialize section of WigglyMan1 is extended beyond the previous 2-line section. These initialization statements are the configs required to start the clock running. best, -doc --- In SynthModules@yahoogroups.com, "Woody Wall" <woody_wall@h...> wrote: > Prof. Richter or dr. mabuse, > > I've been looking at wigglyman1.bas and can't figure out exactly what > CALCRAND does. I'm guessing that it seeds RANDOM from a timer, but I > can't find any other reference to TCNT in the source or the ATOM-Pro > manual. Care to elaborate? > > Many thanks. > > Woody
Message
Re: Wigglyman1 question
2004-02-29 by drmabuce
Attachments
- No local attachments were found for this message.