I have a project using the PIC12F1572 which uses the PWM component
I am getting the following 2 errors when compiling to HEX or to Chip
Is there a definition missing somewhere?
(192) undefined identifier "CCP1CON"
(192) undefined identifier "CCPR1L"
Thanks
Compile Error
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Compile Error
Hello,
Many thanks for letting us know of the problem. It was down to a minor bug in the definition file.
Simple copy the file below into your "Flowcode 7/FCD/PIC" folder and restart Flowcode for the changes to be loaded.
Many thanks for letting us know of the problem. It was down to a minor bug in the definition file.
Simple copy the file below into your "Flowcode 7/FCD/PIC" folder and restart Flowcode for the changes to be loaded.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Compile Error
Added 16-bit PWM support for this device here.
http://www.matrixtsl.com/mmforums/viewt ... 961#p76163
http://www.matrixtsl.com/mmforums/viewt ... 961#p76163
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel