serial cable. I built a simple GUI interface in VB.net to toggle an
LED on and off. There are 4 bytes at address 41-44 that control the
oLED. I am sending write commands to the upper 4 bits of 42 and 43 to
control the LED as follows:
to turn LED off:
upper 4 bits at address 42: 0011
upper 4 bits at address 43: 0000
scp command:
\0V42J144H36L03N
\0V43J144H36L00N
to turn LED on:
upper 4 bits at address 42: 1111
upper 4 bits at address 43: 0010
scp command:
\0V42J144H36L0FN
\0V43J144H36L02N
The serial port is set to 9600,N,8,1.
The oLED object is set up to operate at a brightness of "1". Every so
often when toggling the LED to the "off" state, the LED goes to the
brightest level instead of turning off. While in this state, i checked
the memory at 42 and 43, and it shows it correctly as off. Subsequent
toggles, and the LED operates as expected until it occurs again.
Anyone have an idea why this may be occuring?
Thanks,
dan
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