I am writing code to send characaters over a serial line, and right now it
only sends once the Enter key is pressed. Is there a way to write the code
so that the character is send as soon as the key is pressed? Some versions
of C allow for kbhit() but I can't use that. So any other solutions are
welcome.
kweisser@udel.edu
Kevin Weisser
function similar to kbhit()
Re: function similar to kbhit()
Kevin Weisser <kweisser@udel.edu> wrote:
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
Answered in much detail elsewhere.I am writing code to send characaters over a serial line, and right now it
only sends once the Enter key is pressed. Is there a way to write the code
so that the character is send as soon as the key is pressed? Some versions
of C allow for kbhit() but I can't use that. So any other solutions are
welcome.
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
Re: function similar to kbhit()
Kevin Weisser <kweisser@udel.edu> wrote:
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
Answered in much detail elsewhere.I am writing code to send characaters over a serial line, and right now it
only sends once the Enter key is pressed. Is there a way to write the code
so that the character is send as soon as the key is pressed? Some versions
of C allow for kbhit() but I can't use that. So any other solutions are
welcome.
-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.