problème TMR1 avec PIC16F1847 RESOLU

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
pilou8830
Flowcode V4 User
Posts: 58
Joined: Mon Aug 16, 2010 12:52 am
Been thanked: 1 time
Contact:

problème TMR1 avec PIC16F1847 RESOLU

Post 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 358 times
Merci d'avance

pilou8830
Last edited by pilou8830 on Tue Jul 02, 2013 6:34 pm, edited 1 time in total.

Kenrix2
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

Post 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?

pilou8830
Flowcode V4 User
Posts: 58
Joined: Mon Aug 16, 2010 12:52 am
Been thanked: 1 time
Contact:

Re: problème TMR1 avec PIC16F1847

Post by pilou8830 »

Danks Kenrix2
c'est ok.
:P :P :P

Post Reply