Hi all, I wanna use the function like outportb and inportb to read/write my RS-232 port. I have included the "stdio.h" in my C program and it gives out the error messages like ''outportb' missing function prototype'. I have read soem books about that and it just says to include the "stdio.h" will do. Would anyone tell me what I have done wrong? Or the 'stdio.h' header file in my PC is wrong? And where could I download a 'usable' header file?
Sorry, wrong forum. Take a look at Keil's main web page http://www.keil.com and at the top you'll see: "Keil Software makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments, and evaluation boards for the 8051, 251, ARM, and XC16x/C16x/ST10 microcontroller families." No PC-targeted compilers there, I'm afraid.