as the title does not get up the PORTD even if I do it from code.
this is the code used.maybe is a problem of PORTE and PORTD configuration?
#CHIP 16F877A,4
#CONFIG OSC=XT,WDT_OFF,PWRTE_ON,CP_OFF,DEBUG_OFF,WRT_OFF,CPD_OFF,LVP_OFF,BODEN_ON,BOREN_OFF
Inicio:
TRISA=b'000000'
TRISB=b'00000000'
TRISC=b'00000000'
TRISD=b'00000000'
TRISE=b'00000000'
PORTA=b'000000'
PORTB=b'00000000'
PORTC=b'00000000'
PORTD=b'00000000'
PORTE=b'000'
INTCON=b'00000000'
CVRCON=b'00000000'
CCP1CON=b'00000000'
CCP2CON=b'00000000'
ADCON0=b'00000000'
ADCON1=b'00000110'
DO
SET PORTB.1 ON
WAIT 500 ms
SET PORTB.1 OFF
WAIT 50 ms
SET PORTB.2 ON
WAIT 500 ms
SET PORTB.2 OFF
WAIT 50 ms
LOOP
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
as the title does not get up the PORTD even if I do it from code.
this is the code used.maybe is a problem of PORTE and PORTD configuration?
resolved,
problem with the track of the breadboard