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.
CC2541自带的battery monitor可以检测电池电量,你可以看下手册13章:https://www.ti.com.cn/cn/lit/ug/swru191f/swru191f.pdf?ts=1623128091879&ref_url=https%253A%252F%252Fwww.ti.com.cn%252Fproduct%252Fcn%252FCC2541%253F_ticdt%253DMTYyMzEyNzg1OHwwMTc5OWQzYmQxMjYwMDE1ZjVjYmYwNTY2OTM4MDMwNzMwMDQyMDZiMDA4NmV8R0ExLjIuMTI2NDUzODk3Ny4xNjIxODQ2MTg3
当然,用外设ADC测电池电量检测也是可以的
安装SDK:https://www.ti.com.cn/tool/download/BLE-STACK-1-X#previous-versions
例程在
C:\ti\BLE-CC254x-1.5.2.1\CC2541_43_44_45_Peripherals_Software_Examples\software_examples\adc