Help problems using PULSIN in this PORTC.5 only this port in the data shild ..
this port is I/O but SDO ...
but i use PULSIN PORTC.5,0.BO no work
Help problems using PULSIN in this PORTC.5 only this port in the data shild ..
this port is I/O but SDO ...
but i use PULSIN PORTC.5,0.BO no work
is your PIC running? Is a led blink to this pin work???. I don't see any kind of problem using this pin if your PIC is running/set properly. can you post your whole code here???
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yes my pic is working but i dont have a led to this pin but to others..
Mycode :
RcValue Var Word
RcInput Var PORTC.5
test:
PULSIN RcInput,0,RcValue
SerOut 1,N9600, RcValue
goto test
what about the above? where your signal come from?? Be sure of your signal, low level and high level. Be sure the input pin is not floating.Code:Mycode : RcValue Var Word RcInput Var PORTC.5 test: PULSIN RcInput,0,RcValue SerOut 1,N9600, [#RcValue] goto test
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks