I am getting an error for void main() function.. Please help me. I am using AT89C51.
Look at the line preceding initialise_serial_com: There is a missing ";".
ohh... yes... thank you very very much..!!
error 267: 'elseif': Requires ANSI-style prorotype.