28 lines
538 B
C
28 lines
538 B
C
#ifndef __ECHO_H__
|
|
#define __ECHO_H__
|
|
|
|
#define NL "\r\n"
|
|
|
|
#define CHAR_BUFF_SIZE 16
|
|
|
|
void echo(char*);
|
|
void echo_c(char);
|
|
|
|
// void echo_int(int);
|
|
void echo_hex(uint8_t);
|
|
void echo_hex16(uint16_t);
|
|
|
|
void echo_float(float); // def 3 digits
|
|
void echo_float1(float); // 6 digits
|
|
void echo_float2(float); // 6 digits
|
|
void echo_float4(float); // 6 digits
|
|
void echo_float6(float); // 6 digits
|
|
void echo_float8(float); // 8 digits
|
|
|
|
void echo_uint16(uint16_t);
|
|
void echo_int32(int32_t);
|
|
|
|
void echo_bool_label(char*, uint8_t);
|
|
|
|
|
|
#endif //__ECHO_H__
|