Any bugs you encounter with Flowcode should be discussed here.
DirkB
Posts: 61 http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 3:55 pm
Been thanked: 4 times
Post
by DirkB » Sat Nov 11, 2023 12:12 pm
Hello,
there has been an update to the PWM. After the update, the compiler returns an error. The PWM no longer works. My chip is the 16F1825. Everything worked fine until yesterday.
Here is the error message.
Code: Select all
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_PWM.c:88:2: error: (192) undefined identifier "MX_PWM_TRIS_11"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_PWM.c:88:27: error: (192) undefined identifier "MX_PWM_PIN_11"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_PWM.c:88:43: error: (192) undefined identifier "MX_PWM_PORT_11"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_PWM.c:340:1: error: (192) undefined identifier "MX_PWM_TRIS_11"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_PWM.c:340:25: error: (192) undefined identifier "MX_PWM_PIN_11"
PWM no function after update
Dirk
chipfryer27
Valued Contributor
Posts: 1181 Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 287 times
Been thanked: 417 times
Post
by chipfryer27 » Sat Nov 11, 2023 12:24 pm
Hi
Can you attach your chart?
Also, after an update components sometimes "default" to initial pin values. It's worth checking that your pin assignments are still valid.
Regards
DirkB
Posts: 61 Joined: Thu Dec 10, 2020 3:55 pm
Been thanked: 4 times
Post
by DirkB » Fri Nov 17, 2023 3:17 pm
Hello,
of course, I always create a new project with this
component to rule out other errors. The same result.
DirkB
Posts: 61 Joined: Thu Dec 10, 2020 3:55 pm
Been thanked: 4 times
Post
by DirkB » Fri Nov 24, 2023 6:15 pm
After the update to PWM V7 the PWM works. According to the data sheet,
the PIC18F14K22 has up to 4 PWM outputs. How can I set these?
Dirk