> 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
<*> 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