Get the servo current
Reads the current power consumption from the OpenServo. Power consumption is averaged over a few clock cycles to gain a smoother output.
[Add information about range of scaling on power]
Reading the OpenServo requires two I2C transactions. The first sets the register to be read, and the second is the read transaction.
16bit precision
0x0C |
POWER_HI |
Read Only |
Servo power high byte |
0x0D |
POWER_LO |
Read Only |
Servo power low byte |
Read the current power consumption from the OpenServo. This is the exact averaged power usage of the OpenServo at the time of reading.
In order to get the current power usage you must get a 16 bit registers. Assuming device = 0x10
Get the power:
POWER_HI = 0x0C POWER_LO = 0x0D
send [device POWER_HI]
read [device {power_hi} {power_lo}]
send [0x10 0x0C]
read [0x10 {power_hi} {power_lo}]
