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.

Saturday, June 7, 2008

Re: [oopic] Re: oopic oSPIL and a 74165

Yes, it is always worth it to set the initial state of both the clock
and the data lines.

DLC

rtstofer wrote:
>> ClkInhibit.IOLine = 12
>> ClkInhibit.Direction = cvOutput
>> ClkInhibit.Value = 1
>>
>> Load.IOLine = 14
>> Load.Direction = cvOutput
>> Load.Value = 1
>>
>>
>
> Another thought: set the .Value property BEFORE you set the .Direction
> property to avoid a glitch. The IOLines will be floating high. As
> soon as you set the .Direction they will pull low. Then they will go
> high when you set the .Value.
>
> Setting the .Value first will insure they change from floating high to
> pulled high without going low.
>
> It may not matter in this application but, in general, that is the
> proper way to set output bits on uC's.
>
> One way to guarantee the pins are floating high at reset is to put a
> 10k pull-up resistor on the pin.
>
> Richard
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>

--
------------------------------------------------------
Dennis Clark
------------------------------------------------------


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

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: