I'm very new to the ooPIC community but I'm already able to do some
really cool event-driven stuff with the ooPIC-C.
The last phase in my first project, is to have the ooPIC listen and
talk to a serial port at 9600 bits/sec. The protocol on this port is
half-duplex, so there will be no transmission and reception of data
at the same time.
Because I inserted the ooPIC-C in an existing BASIC-Stamp design of
mine, the printed circuit board was already made and the pins for
RxD, TxD, DTR and CTS are defined. That made me choose for the
oSerialL object in stead of the oSerial or oSerialPort.
I am now struggling on how I should write proper code for an event-
driven routine that handles the reception of the data from this port.
Does anyone have some samples of code, showing a small routine that
is able to receive a byte from the oSerialL object and put it in a 20-
byte buffer ? (I count on using the oBuffer20 object for that).
How should I make a VC for that ?
I cannot find a trigger flag in the oSerialL object that would be
able to trigger an event.
Thanks for any help !!
regards,
Patrick.
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