You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
586 B
26 lines
586 B
#include "dbg_printf.h"
|
|
|
|
#include "uart1.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------*//**
|
|
* @brief Puts a character to file
|
|
* @param[in] ch
|
|
* Character to put
|
|
* @param[in] f
|
|
* Pointer to file
|
|
* @return character
|
|
* @note if you use IAR EWARM, select Full as Options/General Options/Library Configuration/Library.
|
|
*//*-------------------------------------------------------------------------*/
|
|
int fputc( int ch, FILE* f )
|
|
{
|
|
Uart1_Transmit(ch);
|
|
return( ch );
|
|
}
|
|
|
|
|