Serial port com in while(1)

New Message Reply Date view Thread view Subject view Author view

Devrim Erdem (devrim++at++infotron-tr.com)
Thu, 15 Apr 1999 15:47:08 +0300


Hi pfPeople,

I have some serial comm. code which polls the data from the serial port.
Currently this is is in the while loop and executed each frame.

Since the data from the serial port is not continuous I want to build
an callback function which is called when some data arrives to the
serial
port of the machine. I think this is a pretty common problem.

thanks,

-- 
/*===============================================
M. Devrim Erdem            devrim++at++infotron-tr.com
		                   Chief Engineer
                Simulation & Software Development
                              info(+)TRON, Turkey
http://www.infotron-tr.com
http://abone.turk.net/mderdem
===============================================*/

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Apr 15 1999 - 05:52:19 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.