%V (Board Voltage)
This command applies to the XTC RF Module.
Reads the supply voltage to the module's VCC (pin 2).
The conversion of the hex value returned by %V to Volts is VAL/65536 = Volts.
Example:
2.8 VDC = 2.8 * 65536 = 0x2CCCD
3.3 VDC = 3.3 * 65536 = 0x34CCD
Sample output
3.27 V (when CF = 0)
345E3 (when CF = 1) 1
3.27 (when CF = 2)
Binary command
0x3B (59 decimal)
Parameter range
[read-only]:
0x26666 - 0x39999 (2.40 to 3.60 V)
Default
N/A
Bytes returned
4