FC11: Modbus conflict (Ard Nano)

For general Flowcode discussion that does not belong in the other sections.
Post Reply
viktor_aust
Posts: 16
http://meble-kuchenne.info.pl
Joined: Fri May 17, 2024 1:04 am
Has thanked: 6 times
Been thanked: 3 times

FC11: Modbus conflict (Ard Nano)

Post 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?

viktor_aust
Posts: 16
Joined: Fri May 17, 2024 1:04 am
Has thanked: 6 times
Been thanked: 3 times

Re: FC11: Modbus conflict (Ard Nano)

Post by viktor_aust »

Hi again
I checked the program with FC10; OK.
However cannot compile wihout errors with FC11
Attachments
FC11_Nano_25Jan26_Err.fcfx
(42.03 KiB) Downloaded 16 times
FC10_Nano_25Jan26_OK.fcfx
(43.05 KiB) Downloaded 13 times

Post Reply