Flowcode 7.2.1.4
T2CLKCON=0x01;
^ (192) undefined identifier "T2CLKCON"
T2PR=125-1;
^ (192) undefined identifier "T2PR"
(908) exit status = 1
(908) exit status = 1
According to the datasheet, it appears register T2CLKCON does not exist, the clock source is Fosc/4 and T2PR should be PR2.
There are compile errors with Timer 4 & Timer 6 as well, but I have not looked into those.
PIC16F1708 Timer 2 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: PIC16F1708 Timer 2 compile error
Thanks for letting us know, investigating now for you.
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: PIC16F1708 Timer 2 compile error
Right hopefully the attached should solve the problem for you.
Simply extract the attached archive into your "Flowcode 7/FCD/PIC" folder and then restart Flowcode for the changes to be loaded.
Let me know how you get on.
Simply extract the attached archive into your "Flowcode 7/FCD/PIC" folder and then restart Flowcode for the changes to be loaded.
Let me know how you get on.
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