Menu
this is to check if we can write since rs485 is half duplex #define ARRAY_SIZE(A) (sizeof(A) / sizeof((A)))įloat battBhargeCurrent, bvoltage, ctemp, btemp, bremaining, lpower, lcurrent, pvvoltage, pvcurrent, pvpower įloat stats_today_pv_volt_min, stats_today_pv_volt_max Change to 0 when you are finished debugging. My power meter shows 1.49 kWh but response from Modbus is 16318. Communication works fine but responses are the ones are confusing me and I can not get correct values. I am using ESP8266 and ModbusMaster.h library to communicate with RS485 enabled power meter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |