shuichan_old/V1.5/STM32F103_App1/HardWare/LOG/log_cn.c

7 lines
296 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "log_cn.h"
/* 本文件为 UTF-8 编码ARMCC 原样输出字符串字面量的字节,
* 串口收到即为 UTF-8串口工具编码选 UTF-8 即可正确显示中文) */
const char FMT_UPTIME[] = "> 运行时间: %u天--%02u小时--%02u分钟";
const char FMT_ENERGY[] = "> 电能: %.2fkWh 电压: %.1fV 电流: %.2fA 功率: %.1fW";