ooPIC.Hz60 which would give you a pulse every 16ms, which is too long,
or use the oPWMH line, set the clock frequency to what you want and then
use an external wire to jumper the PWM output to another IO pin, which
you would link in by using an oDIO1. PWM signals are not available
internally. You could also use oFreqH, but again, you'd have to attach
an external wire from IOLine 21 to your IO line to use with oDIO1.
Hmm. It might JUST work to use oFreqH and have an oDIO1 on to IOline 21
to get that clock without an external jumper - I've not tried that, it
might just work! Try it and see.
DLC
mora_sutha wrote:
> Hi,
>
> Using Virtual Circuit seems to be ok. But in the oCountDown object,
> for ClockIn property what can I use? Since I need the delay in less
> than 10 mS, I need to use a fast clock. So can I use oClock or oFreqH
> for this? If not, what else possible pls?
>
> Sudarsan. G
>
>
> --- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...> wrote:
>
>>
>> mora_sutha wrote:
>>
>>> Hello,
>>>
>>> I'm using V6 compiler. May I know the delay in V6?
>>> If I need to change the timing delay according to a potentiometer
>>> position, I need to change the countdown value. But I need the timing
>>> in 5-10 mS range. Is it possible?
>>>
>>>
>>>
>> Certainly. But I stress, don't use scripting to do the timing, use a
>> Virtual Circuit. You can do this entire thing in a single VC - An oA2D
>> feeds an oByte that is linked to an oMath to calculate the countdown
>>
> for
>
>> the oCountdown, or something similar. I recommend that you sit down
>> with paper and pencil and figure out all of the functional blocks and
>> then study the object list to find the right parts to implement it with.
>>
>> DLC
>>
>>> G. Sudarsan
>>>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>
--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
No comments:
Post a Comment