We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everybody. I've a question. I must modify the standard getkey function: #include <reg51.h> char _getkey () { char c; while (!RI); c = SBUF; RI = 0; return (c); } to know if it receives something by RS232 in 30 sec. If in this time i don't receive anything i must return an error. My problem is how to know if 30 seconds are passed. Thanks everybody.
I'm a new developper and my chief wont to modify it....
Does your chief realise that you have no experience with the 8051? Stefan
"Does your chief realise that you have no experience with the 8051?" If he does (and he should), then he should be expecting that you will require some "training" input, If he doesn't, somebody has not been telling him the whole truth...
...or he won't listen.
Sounds like Graham has had some experience with chiefs as well as the 8051.