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.

Monday, April 14, 2008

Re: [oopic] Re: Sharp GP2D12

Mike,

Virtual Circuit is the OOPIC term for linking objects together to do
processing that happens far faster than scripts run.

DLC

Mike Martin wrote:
> Hi Richard and thanks.I'm using real circuits and components on a
> prototyping board (ie not virtual circuits). Would it be easier just to
> use virtual circuits? I take it that because the sensor outputs a
> varying voltage it's an analog output?
>
>
>> If you assign analog signals to IOLines 1..4 then all of them set to
>> analog.
>>
>
> If I put a (real) wire from IOLine 1 onto the Vo line of the sensor and
> the assign it
>
> Dim IR as New oA2D
> IR.IOLine = 1
>
> then can I do something with IR.Value? Say switch on an LED at some
> threshold? I did what Bill suggested and put it on a multimeter and
> measured Vo with respect to GND and got varying values, so I know the
> sensor works.
>
> Mike M.
>
>
> ------------------------------------
>
> 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:

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

No comments: