Thursday, April 17, 2008

Re: [oopic] Clearing oSerialPort's buffer

If you read the PIC data sheet, that is the only way to flush the buffer
is by reading it. So, do four reads after a reset and you're done.

DLC

Matt Elias wrote:
> How does one clear the oSerialPort's buffer other than reading it's
> value propery? Does sending data clear the "receive" buffer? Does
> setting the operate property to cvFalse clear the buffer?
>
> Thanks
> Matt
>
>
> ------------------------------------
>
> 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:

Post a Comment