Hi all,
on 16F84A this code works fine.
-----------------------------------------
v1 var byte
main:
pot portb.0,255,v1 ' connect an CDS (fotoresistor)
if v1 < 230 then led
goto main
led:
high portd.1
pause 500
low portd.1
pause 500
goto main
---------------------------------------
on 16F877A no works!!
why?
thx
chip_1
Bookmarks