![](/media/cache/profiles/1c67df9e0a5cfefa030b853983324004.50x50_q85.png)
implementation of parts of the unilynx protocol, for communicating with danfos photovoltaic inverters. Still BETA ! needs byte stuff/unstuff fixed, and some CRC are left out for niw...
main.cpp
- Committer:
- morten_opprud
- Date:
- 2012-08-27
- Revision:
- 0:66a099b01e08
- Child:
- 1:df4e9da66448
File content as of revision 0:66a099b01e08:
#include "mbed.h" #include "unilynx.h" DigitalOut myled(LED1); int main() { rs485init(); while(1) { //test(); readParameter(RAW_MEAS_VALUES, ENERGY_PRODUCTION); #if 1 // ping(); myled = 1; wait(1); myled = 0; // getNodeInfo(); wait(1); #endif } }