Posted: Mon Sep 18, 2006 3:29 pm Post subject: Detect "hello" serially ..pls help
hi..can anyone help me with this , i trying to receive "hello" serially from my pc to the atmel chip 89c51....when i type "hello" with pc ..then the atmel chip will on a LED . can anyone help me ...i wanna know how to detect the "hello" word using bascom ...thx alot
You can use Input statement or Inkey statement.
Using of these two statements is different. If you are using Input, uC is waiting strings from PC and when "Enter" is pressed that strings puts in variable.
But if you use Inkey you must write some routine to collect all strings that are comming and later analysed them, or whatever you want to do with them!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum