There are 2 possibilities of error:
either my rs232 display code has an error or the error is caused as I haven't connected pullup resistors along the serial bus lines.
Kindly guide me on solving the problem.
My aim is to send data from master to slave and on receiving a stop bit the slave will communicate the data to rs232 port on my pc