i am new here and my 1st year in my hobby. I am a ham radio operator
and i like to assemble a simple repeater controller using PIC12F509 and LM567
here is my my program,

@ device pic12f509,intrc_osc,wdt_off,mclr_off,protect_off
Define OSCCAL_1K 1

'pin assignments

ptt var gpio.0
snd var gpio.1 ' sound pin
mute var gpio.2
cor var gpio.3
jumper var gpio.4 ' beep selector
ct var gpio.5 ' connected to pin 8 of LM567

'variables
x var byte

ini:
option_reg.5 = 0
trisio = %111000

pause 1000

begin:
if cor = 0 then tx
ptt = 0 : snd = 0
mute = 1
pause 100
goto start

tx:
mute = 0 : ptt = 1

loop:
if cor = 0 then beep
pause 100
goto loop

beep:
mute = 1: pause 50
sound snd,[ 115,12]

delay:
for x = 0 to 5
if cor = 0 then tx
pause 100 : next x
ptt = 0
goto begin

all i got! really i don't know how to execute when the ct pin low about 30sec(receaves long tone of 1750hz) it will enable/disable the repeater.

73!
kobie