"jeanval" <[EMAIL PROTECTED]> writes: > basically, all i want to do is keep on sending a code through the > serial port and make an appropriate action upon reception, and all > from the palm. that is to make a bike computer, showing up my > speed...
Doing something every x seconds involves - the event loop - EvtGetEvent( &event, timeWait ); with timeWait != 0 - handling the nilEvent > another question while i think of it, since those bike computer > found on the market are just some sort of ON/OFF devices (the loop > is always closed and opens every time the wheel makes one > revolution), would it be thinkable to send some code through the > serial txd port without using some sort of timer, so just sending it > all the time. Not sure... what would you want to send? Wouldn't it be better to use the RTS line? -- Jan Exner � [EMAIL PROTECTED] � 0x9E0D3E98 � http://www.jan-exner.de/ Neues aus Frankreich und England http://www.jan-exner.de/uk.html -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
