#ifndef _UART_H_ #define _UART_H_ #include "stm8s.h" #include "stdio.h" #include "STDARG.H" #include "string.h" #include "stm8s_uart2.h" /* #ifdef _RAISONANCE_ #define PUTCHAR_PROTOTYPE int putchar (char c) #else //_COSMIC_ #define PUTCHAR_PROTOTYPE char putchar (char c) #endif //_RAISONANCE_ */ char putchar (char c); int myprintf(char *format, ...); void InitPrintf(void); #endif