Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在例程里面只有电池服务,电池电量用了一个数字替代。如果想在电池服务里面用真正的电池电量应该怎么做啊?
ADC采集电池电压,转换成电池百分比然后通过电量服务上传就可以了。