ernestclydeachua
New Member
Im currently working in this project and searched and modified the circuit,
by using a spdt switch i can control a specific relay and LED
where
RB0 controls RB7 and RA0 ===>if RB0=0 then RB7 and RA0=0, else it will be 1 when RB0=1
RB1 controls RB6 and RA1
RB2 controls RB5 and RA2
RB3 controls RB4 and RA3
i want to know the codes in Assembly language
i really want to know how to control each pins, i only know the basics like
movlw b'00000000'
movwf portb
by using a spdt switch i can control a specific relay and LED
where
RB0 controls RB7 and RA0 ===>if RB0=0 then RB7 and RA0=0, else it will be 1 when RB0=1
RB1 controls RB6 and RA1
RB2 controls RB5 and RA2
RB3 controls RB4 and RA3
i want to know the codes in Assembly language
i really want to know how to control each pins, i only know the basics like
movlw b'00000000'
movwf portb