Hi @nxp
I download the JN-AN-1245 project, and there is CoinCellSwitch in the compilation option, but this folder is not in the directory. I have a sensor project that uses batteries, and I want to know how much power is left. How to calculate the electricity. Can you provide an example of CoinCellSwitch
CoinCellSwitch the folder is empty.
Hello @Tome-mbedded,
According to JN-AN-1245 Release Notes (JN-AN-1245 Doc folder), CoinCell was removed from the release. I apologize for any inconvenience this might cause you.
Perhaps you can use the Supply monitor that should be connected to ADC channel 6; this monitor VBAT. For more information on this, please refer to the JN5189 User Manual, Chapter 27: ADC Controller.
Regards,
Eduardo.