Hello, in my project work I want to read serially received data continuously and compare it with stored ID in MCU I am using 8051. If the ID match then Green LED will glow, for ID mismatch Orange LED. If no ID found Red LED should glow. In this I am getting problem,when valid Id received it is indicated by Green LED but if we stop sending ID i.e. logically NO DATA in SBUF the Red LED should glow ; it doesn't happen its showing Green Led on...how to solve this one?
Thinking...thinking..... on peak point of project..need help from Experts!!
Well i assume from this post that he may be working on a student project. He may be working for a company which sells complete projects to engineering students.
I dont understand what is the peak point in this critical project!! These guys would not have read datasheets nor designed their codes.