modification programme pic 16f84

Electronique numérique / Circuits logiques programmables EPLD, CPLD, FPGA d'Altera ou de Xilinx VHDL, Verilog ou SystemC

Modérateur : Modérateur

Benjamin
ACCRO
ACCRO
Messages : 314
Inscription : 11 sept. 2005 23:43
Localisation : Belgique
Contact :

Message par Benjamin »

A mon avis c'est une erreur de ta part... Mais tant que l'on voit pas tes modifications on saura rien te dire...

A++
.: http://www.roboticus.org :. Control your own world !

Invité

Message par Invité »

voila ce que j'ai fait :

; This code sounds the alarm and waits on start to be pressed ;
;-------------------------------------------------------------------------;

SOUNDALARM
FINALWAIT
BsF PORTB,RB4
BcF PORTB,RB5
MOVLW 2 ; delay 2 milliseconds
CALL NMSEC
nop
nop
MOVLW 2 ; another 2 msec delay
CALL NMSEC
BTFSC PORTB,START_PB ; start button pressed
GOTO FINALWAIT ; not yet
CALL DLY20 ; debounce just to make sure
BTFSC PORTB,START_PB ; second look
GOTO FINALWAIT ; nah, keep waiting
BcF PORTB,RB4
BcF PORTB,RB5
CALL WAITSTARTUP ; now wait for the switch up
GOTO EE2D ; start all over again

Benjamin
ACCRO
ACCRO
Messages : 314
Inscription : 11 sept. 2005 23:43
Localisation : Belgique
Contact :

Message par Benjamin »

Comme ça je vois pas, c'est peut-être un probleme avec le schéma ou alors derniere possibilité une soudure mal fait qui fait un cours circuit qq part
.: http://www.roboticus.org :. Control your own world !

Invité

Message par Invité »

la partie harware fonctionne bien avec le prog de base mais pas avec le prog modifie, c'est pourquoi j'aidemande votre aide.
en tout cas c'est sympa de m'avoir aidé
merci

Répondre