#define ReadSensorEMeter ( _port,
_vIn,
_aIn,
_vOut,
_aOut,
_joules,
_wIn,
_wOut,
_result   )     __ReadSensorEMeter(_port, _vIn, _aIn, _vOut, _aOut, _joules, _wIn, _wOut, _result)

Read the LEGO EMeter values.

Read all the LEGO EMeter register values. They must all be read at once to ensure data coherency.

Parameters:
_port The port to which the LEGO EMeter sensor is attached. See the NBC 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 E-Meter
_wIn The number of watts generated
_wOut The number of watts consumed
_result A status code indicating whether the read completed successfully or not. See TCommLSRead for possible Result values.

Generated by  doxygen 1.6.2