S
seegoon
Hi to all.
I have a application that receives data via the serial port. I don't
know the number of bytes that are going to
be coming in. It could be 10 up to 150. (9600 baud)
I have decided to start a timer when the first byte arrives and wait
for a pre determined time and then check
the serial buffer for the data.
I can't seem to get the timer to start from within the serial receive
routine though.
I enable it , start it and set the interval , but tick event never
fires.
What could be causing this?
Also , is there a better way of tackling this problem , without the
use of a timer?
Cheers
Rob
I have a application that receives data via the serial port. I don't
know the number of bytes that are going to
be coming in. It could be 10 up to 150. (9600 baud)
I have decided to start a timer when the first byte arrives and wait
for a pre determined time and then check
the serial buffer for the data.
I can't seem to get the timer to start from within the serial receive
routine though.
I enable it , start it and set the interval , but tick event never
fires.
What could be causing this?
Also , is there a better way of tackling this problem , without the
use of a timer?
Cheers
Rob