hassan1980
Full Member level 4
I am looking for the perfect way to scan switches with pic 16f84
I am using this program :
SCAN btfss porta,0
goto SCAN
I faced the problem with this subroutine, the problem is : when I turn on the lamp of my bedroom then pic 16f84 achieve the scannig prosses without any push of the switch that lead me to say that the scaning routines affected by external sparks like turn on lamp and turning on TV, would you please help me to cover this problem.
I am waiting your replies
I am using this program :
SCAN btfss porta,0
goto SCAN
I faced the problem with this subroutine, the problem is : when I turn on the lamp of my bedroom then pic 16f84 achieve the scannig prosses without any push of the switch that lead me to say that the scaning routines affected by external sparks like turn on lamp and turning on TV, would you please help me to cover this problem.
I am waiting your replies