如何使用配置文件中 display 设置日志打印,打印到控制台显示。希望给到具体的在 onoff_switch 中的实例代码的demo 。
设置的是测试 终端节点
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
如何使用配置文件中 display 设置日志打印,打印到控制台显示。希望给到具体的在 onoff_switch 中的实例代码的demo 。
设置的是测试 终端节点
好的,这是在测试阶段。方便打印日志。后期日志显示的话,使用串口来发送。减少消耗资源。