|
NXC
Version 1.2.1 r5
|
|
inline |
Read the LEGO EMeter values.
Read all the LEGO EMeter register values. They must all be read at once to ensure data coherency.
| port | The port to which the LEGO EMeter sensor is attached. See the Input port constants group. You may use a constant or a variable. |
| vIn | Input voltage |
| aIn | Input current |
| vOut | Output voltage |
| aOut | Output current |
| joules | The number of joules stored in the EMeter |
| wIn | The number of watts generated |
| wOut | The number of watts consumed |