Utilisation de timer1 (get_timer1())????
Fermé
Xavi86
Messages postés
7
Date d'inscription
jeudi 29 avril 2010
Statut
Membre
Dernière intervention
18 mai 2010
-
29 avril 2010 à 18:59
chuka Messages postés 965 Date d'inscription samedi 11 octobre 2008 Statut Membre Dernière intervention 29 juillet 2010 - 29 avril 2010 à 19:30
chuka Messages postés 965 Date d'inscription samedi 11 octobre 2008 Statut Membre Dernière intervention 29 juillet 2010 - 29 avril 2010 à 19:30
A voir également:
- Utilisation de timer1 (get_timer1())????
- Notice d'utilisation - Guide
- Utilisation chromecast - Guide
- La ressource demandée est en cours d'utilisation - Forum caméra/camescope
- Dossier en cours d'utilisation - Forum Windows 8 / 8.1
- Une restriction de compte utilisateur vous empeche de vous connecter ✓ - Forum Réseau
3 réponses
chuka
Messages postés
965
Date d'inscription
samedi 11 octobre 2008
Statut
Membre
Dernière intervention
29 juillet 2010
377
29 avril 2010 à 19:02
29 avril 2010 à 19:02
salut,
c'est quoi comme PIC?
Tu as essayer de faire l'init du timer sans passer par les fonction?
c'est quoi comme PIC?
Tu as essayer de faire l'init du timer sans passer par les fonction?
Xavi86
Messages postés
7
Date d'inscription
jeudi 29 avril 2010
Statut
Membre
Dernière intervention
18 mai 2010
29 avril 2010 à 19:14
29 avril 2010 à 19:14
C'est ce que j'ai utiliser comme initialisation du programme avec un PIC16F877. J'AI pas compris la deuxième question (Tu as essayer de faire l'init du timer sans passer par les fonction?)
#include <16F877.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES RC //Resistor/Capacitor Osc with CLKOUT
#FUSES NOPUT //No Power Up Timer
#FUSES NOPROTECT //Code not protected from reading
#FUSES BROWNOUT //Reset when brownout detected
#FUSES LVP //Low Voltage Programming on B3(PIC16) or B5(PIC18)
#FUSES NOCPD //No EE protection
#FUSES NOWRT //Program memory not write protected
#FUSES NODEBUG //No Debug mode for ICD
#use delay(clock=4000000,crystal)
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
#include <16F877.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES RC //Resistor/Capacitor Osc with CLKOUT
#FUSES NOPUT //No Power Up Timer
#FUSES NOPROTECT //Code not protected from reading
#FUSES BROWNOUT //Reset when brownout detected
#FUSES LVP //Low Voltage Programming on B3(PIC16) or B5(PIC18)
#FUSES NOCPD //No EE protection
#FUSES NOWRT //Program memory not write protected
#FUSES NODEBUG //No Debug mode for ICD
#use delay(clock=4000000,crystal)
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
chuka
Messages postés
965
Date d'inscription
samedi 11 octobre 2008
Statut
Membre
Dernière intervention
29 juillet 2010
377
29 avril 2010 à 19:30
29 avril 2010 à 19:30
Initialiser le timer1 directement avec les registres...sans passer par les fonction predefini..(ici les registres T1CON,PIR1,PIE1,TMR1L,TMR1H,INTCON)