![]() _becVoltage = ReadWriteRegister(7, 0, false) / 2042 / 0.25 _ampHours += ((TimeSpan)(DateTime.Now - _lastReading)).TotalHours * _current If (!_lastReading.Equals(DateTime.MinValue)) ![]() _rippleVoltage = ReadWriteRegister(1, 0, false) / 2042 / 0.25 ![]() ReadWriteRegister(128, _throttleOut, true) //_throttleOut is 0 to 65535 This code snippit will get and convert all the data (Call continuously) How do I convert it to Arduino? I’m mainly troubled by the serial parts - converting byte command = new byte etc…Īny help would be appreciated. Hi, I’ve got the code below which is in C++.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |