Page 1 of 1

problème TMR1 avec PIC16F1847 RESOLU

Posted: Mon Jul 01, 2013 10:12 pm
by pilou8830
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..... :cry:
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 :
PWM_16F1847.fcf
mon fichier
(13.48 KiB) Downloaded 384 times
Merci d'avance

pilou8830

Re: problème TMR1 avec PIC16F1847

Posted: Tue Jul 02, 2013 5:09 am
by Kenrix2
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?

Re: problème TMR1 avec PIC16F1847

Posted: Tue Jul 02, 2013 6:33 pm
by pilou8830
Danks Kenrix2
c'est ok.
:P :P :P