Thank you
I Maaked detektor with ic 555 like generator ic signals and any Pic in reciver module (16f84).
If stop signal then rele in NC kontakt have horn.
this program is first tray, workin bat having too many problems.
'on of if any tast. in the tv remote kontrol push down.
'TSOP 1736 data in pin A.2
rele var PortB.6
id var byte
TRISA.2=1
id=0
Pocetak:
low led
pulsin PortA.2,0,id
if id >100 then ukljuci
goto pocetak
ukljuci:
high rele
goto pocetak
end
Bookmarks