In SX Microcontrollers, SX/B Compiler and SX-Key Tool, smhhadima wrote: I want to receive a serial data. but if it timed-out, I want to do some other tasks if I used this function: [color=blue>FUNC] tmp var byte SERIN Ser_pin, Baud, tmp,__PARAM1,timeout ' receive a byte return tmp ENDFUNC[/color] [color=blue> [color=#0000ff>