This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Friday, April 18, 2008

[oopic] Re: Delay in ooPIC

Hi Dennis,

Instead of connecting an external wire, is it possible to try in
virtual circuit as,

Dim count_down As New oCountDownO
Dim clock As New oDIO1
Dim f As New oFreqH
clock.IOLine = 21

count_down.ClockIn.Link(clock.State)

So the clockIn property is linked with oDIO1's state property. Will
it work without an external wire?

Sudarsan. G


--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...> wrote:
>
> To get that small of a delay you could do one of two things. Use the
> 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
> >


------------------------------------

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:

http://docs.yahoo.com/info/terms/

No comments: