October 30, 2025, 02:56:33 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Serial input message/trigger?

Started by Boris, June 14, 2008, 04:52:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Boris

I have used with great success modified versions of the commexample programs. (TY Paul). Is there a windows message sent when the serial input buffer receives a byte, or is not empty? A message I can test for in my window service routine? Like:

If @class=@serintrig then gosub get_data_from_serial_input_buffer

The idea is to have my external microcontroller send a byte at irregular intervals and the EBASIC serial receiving routine only react on reception of a byte (without polling).
Thank you for not breeding

Boris

The program I am using now just polls the microcontroller once a second, sending a â€ËÅ"go’ code then collecting the data sent from the microcontroller.

Any ideas?
Thank you for not breeding

Earn