Hello, I'm trying to get modbus working from freemodbus.com. I've downloaded the version for the Mega and started to change all settings for the Xmega.
Now the compiler gives no error but I cant send or receive anything. The whole controller just freezes up.
Does anyone has a working version for Xmega? I'm using the Xmega16A4u.
Fixed it, code is down