ronydc
Full Member level 3
serial port not working
DEAR FRIENDS,
( i am using keil // USING "C" and doing this for 89c51 from ATMEL.)
I M working on a simple program for operating some relays and putting the status message on the LCD. the program is working so nicely.
now i need to ADD the SERIAL function in to the program so that with RS-232 link the messages can be seen on pc screen too with hyperterminal or any terminal immulator program.
BUT, with my surprize, i am unable to include the serial function in to the program.
I initiated serial port and put some printf commands to print some varialbles on the serial port , but its not working.
i cant understand why this happening.
is the probable reason is tht , DURING WRITING TO THE LCD, the controller is so busy that after finishing even, its unable to print the same on the serial port .?
wht could be the reason,,, freinds please point out the loop hole...!!
THANKS IN ADVANCE.
- Rony
DEAR FRIENDS,
( i am using keil // USING "C" and doing this for 89c51 from ATMEL.)
I M working on a simple program for operating some relays and putting the status message on the LCD. the program is working so nicely.
now i need to ADD the SERIAL function in to the program so that with RS-232 link the messages can be seen on pc screen too with hyperterminal or any terminal immulator program.
BUT, with my surprize, i am unable to include the serial function in to the program.
I initiated serial port and put some printf commands to print some varialbles on the serial port , but its not working.
i cant understand why this happening.
is the probable reason is tht , DURING WRITING TO THE LCD, the controller is so busy that after finishing even, its unable to print the same on the serial port .?
wht could be the reason,,, freinds please point out the loop hole...!!
THANKS IN ADVANCE.
- Rony