Control your pc using TV remote (PIC16F877A)
Mon Apr 07 2014, 10:26 pm
We will help with specific errors, but we can't "check your code"
Write code a bit at a time and test as you go.
As Ajay said,start by checking that you can read the pulses coming from the TV remote.
Write code a bit at a time and test as you go.
As Ajay said,start by checking that you can read the pulses coming from the TV remote.
Thu Apr 10 2014, 04:07 pm
cmmand bits are not getting read from pic IC(i.e,'tx' pin no.25)..
how to read cmmands bit from PIC16F877A('tx' pin)...?
"Tx:MOVF TXREG,0
BSF STATUS,5
B:BTFSS PIR1,4
GOTO B
BCF PIR1,4
RETURN
END"
instead of Tx that you used in your code we replace this code....will it work....?
how to read cmmands bit from PIC16F877A('tx' pin)...?
"Tx:MOVF TXREG,0
BSF STATUS,5
B:BTFSS PIR1,4
GOTO B
BCF PIR1,4
RETURN
END"
instead of Tx that you used in your code we replace this code....will it work....?
Fri Apr 11 2014, 11:23 am
Post your schematic its hard to understand like this.
[Topic moved to PIC Microcontroller Discussion Forum]
[Topic moved to PIC Microcontroller Discussion Forum]
Sun Apr 13 2014, 11:19 am
greater:cjne a,#0cH,next
mov a,#30h
acall tx
jnb ri,$
clr ri
mov a,sbuf
cjne a,#'m',keymode1
clr mode
ret
in this what does that "#m" indicate??
mov a,#30h
acall tx
jnb ri,$
clr ri
mov a,sbuf
cjne a,#'m',keymode1
clr mode
ret
in this what does that "#m" indicate??
Mon Apr 14 2014, 02:55 pm
0 is sent to pc software when power button is pressed. Pc software then replies with what mode is currently set in software. If it's 'm' then mouse mode else keyboard mode.
Wed Apr 16 2014, 01:34 pm
I don't think timer is used in this project. Just usual loops for generating delays.
Powered by e107 Forum System