Code:@ DEVICE pic12F683, INTRC_OSC_NOCLKOUT
DEFINE OSC 8
TRISIO = %101011
CMCON0 = 7
start: IF GPIO.1 = 1 then
high GPIO.4
alarm: FREQOUT GPIO.2,1500,1000
pause 1500
goto alarm
else
low GPIO.2
pause 100
low GPIO.4
pause 100
goto start
endif
end
this code compiles, i'm sure that i selected the correct device but it doesn't work :(