Page 1 of 1

FC11: Modbus conflict (Ard Nano)

Posted: Fri Jan 23, 2026 2:17 am
by viktor_aust
Hi
The Nano program has the timed interval, the interrupt on Int0 and the PWM component (Timer0).
All works OK
----------------------
After I add the modbus slave I have the error (during compiling):
: warning: #warning "PWM Channel Uses Resource Timer 0"
#warning "Period control register not available on target device, period will default to 255 + 1"
error: expected identifier or '(' before numeric constant
error: expected identifier or '(' before numeric constant
-------------------
Looks like Nano does not have enough timers.
Is it the case?
Should I find a different way to communicate and move away from the Modbus?

Re: FC11: Modbus conflict (Ard Nano)

Posted: Sun Jan 25, 2026 4:27 am
by viktor_aust
Hi again
I checked the program with FC10; OK.
However cannot compile wihout errors with FC11