HI. I found this code on my interenet computer. it does not work. plz help?
<pre> #include <reg51.h> sbit pin = P1^0; main() { P1 = 0x00; TMOD = 0x09; loop:TL0 = 0xAF; TH0 = 0x3C; pin = 1; TR0 = 1; while(TF0 == 0) {}
TL0 = 0xAF; TH0 = 0x3C; pin = 0; while(TF0 == 0) {} goto loop; } </pre>
when you save typing by tying "Plz" instead of "please" I save typing by typing no instead of yes.
it does not work I am at a loss as to what it is supposed to do and what is wrong with it
Erik
" it does not work."
It does work. It executes precisely as coded.