processor cycles and freqout
Archiver
Posts: 46,084
Newbie type question
If I Freqout on an pin for 6 seconds, is this where the processor
sits for 6 seconds before moving on? I'm watching for other events
and want to know how to manage my time. I'm not clear yet on how the
BS2 queues up instructions but I'm guessing they're buffered and
there is only one thread.
Thanks
If I Freqout on an pin for 6 seconds, is this where the processor
sits for 6 seconds before moving on? I'm watching for other events
and want to know how to manage my time. I'm not clear yet on how the
BS2 queues up instructions but I'm guessing they're buffered and
there is only one thread.
Thanks
Comments
nothing else until that command finishes...
MH
Original Message
From: <rheine@m...>
To: <basicstamps@egroups.com>
Sent: Friday, October 06, 2000 11:48 PM
Subject: [noparse][[/noparse]basicstamps] processor cycles and freqout
> Newbie type question
> If I Freqout on an pin for 6 seconds, is this where the processor
> sits for 6 seconds before moving on? I'm watching for other events
> and want to know how to manage my time. I'm not clear yet on how the
> BS2 queues up instructions but I'm guessing they're buffered and
> there is only one thread.
> Thanks
>
>
>
>
it performs the instruction its on then moves on to the next one.
and it stays on that instruction until its complete.
norm
>From: rheine@m...
>Reply-To: basicstamps@egroups.com
>To: basicstamps@egroups.com
>Subject: [noparse][[/noparse]basicstamps] processor cycles and freqout
>Date: Sat, 07 Oct 2000 03:48:04 -0000
>
>Newbie type question
>If I Freqout on an pin for 6 seconds, is this where the processor
>sits for 6 seconds before moving on? I'm watching for other events
>and want to know how to manage my time. I'm not clear yet on how the
>BS2 queues up instructions but I'm guessing they're buffered and
>there is only one thread.
>Thanks
>
>
>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
>sits for 6 seconds before moving on? I'm watching for other events
>and want to know how to manage my time. I'm not clear yet on how the
>BS2 queues up instructions but I'm guessing they're buffered and
>there is only one thread.
>Thanks
You can break Freqout up into short bursts with low frequency subtone:
For i=1 to 300 ' total tone about 6 seconds
freqout 0,20,2000
; watch something quickly here
next
That gives 6 seconds of a 2000 hz tone with a ~50hz subtone, watching other
events once per 20 milliseconds.
-- Tracy Allen
electronically monitored ecosystems
http://www.emesystems.com