bonjour,
je désire utiliser un 2ème TRM0 soit donc TMR1 mais lors de la compilaton vers HEX il indique : unknown identifier'TMR1CS'.....invalid.....
pourtant il apparaît bien dans le fichier PIC16F1847.fcf .
Faut-il rajouter ou modifier quelque chose??
Voir peut-être aussi mon fichier ci-joint :
Merci d'avance
pilou8830
problème TMR1 avec PIC16F1847 RESOLU
Moderator: Benj
-
- Flowcode V4 User
- Posts: 58
- Joined: Mon Aug 16, 2010 12:52 am
- Been thanked: 1 time
- Contact:
problème TMR1 avec PIC16F1847 RESOLU
Last edited by pilou8830 on Tue Jul 02, 2013 6:34 pm, edited 1 time in total.
-
- Flowcode v5 User
- Posts: 211
- Joined: Tue Feb 19, 2013 9:51 pm
- Has thanked: 72 times
- Been thanked: 177 times
- Contact:
Re: problème TMR1 avec PIC16F1847
Sorry for the english. I hope you can translate this.
Please try this.
You need to edit the 16F1847.fcd file inside the C:/Program Files/Matrix Multimedia/Flowcode V4/FCD folder with a text editor.
Find TMR1CS in the file and replace it with TMR1CS1. There will be two entries to edit.
Save changes and restart Flowcode.
Also, look at your configuration again. Do you want WDT on? Do you want PLL enabled?
Please try this.
You need to edit the 16F1847.fcd file inside the C:/Program Files/Matrix Multimedia/Flowcode V4/FCD folder with a text editor.
Find TMR1CS in the file and replace it with TMR1CS1. There will be two entries to edit.
Save changes and restart Flowcode.
Also, look at your configuration again. Do you want WDT on? Do you want PLL enabled?