#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | R1_VALUE 4700 |
| Value of resistor R1, connected to Vcc [Ohm]. More... | |
| #define | R2_VALUE 1300 |
| Value of resistor R2, connected to the ground [Ohm]. More... | |
| #define | R_SUM ((uint32_t) R1_VALUE + (uint32_t) R2_VALUE) |
| sum of both resistors More... | |
Functions | |
| uint32_t | calculate_battery_voltage (uint32_t) |
1.8.14