|
RobotC Energy Meter Driver. More...
#include "common.h"
Go to the source code of this file.
Defines | |
#define | LEGOEM_I2C_ADDR 0x04 |
#define | LEGOEM_I2C_REG 0x0A |
#define | LEGOEM_I2C_SIZE 14 |
Functions | |
bool | LEGOEMreadData (tSensors link, float &voltageIn, float ¤tIn, float &voltageOut, float ¤tOut, int &joule, float &wattIn, float &wattOut) |
Variables | |
tByteArray | LEGOEM_I2CRequest |
tByteArray | LEGOEM_I2CReply |
RobotC Energy Meter Driver.
lego-energymeter.h provides an API for the Lego Energy Meter.
Changelog:
Credits :
License: You may use this code as you wish, provided you give credit where its due.
THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
Definition in file lego-energymeter.h.