this is a SUBROUTINE
You seem to be trying to CALL the SUBROUTINE with a GOTOllama1:
PAUSE 10
HIGH RELCALL
memorlay=1
IF TAMPER=0 and ldred=1 then llama1
IF TAMPER=0 AND Ldred=0 THEN mirarverde ; si puerta abierta y led verde activo
;significa que estamos en transito de la llamada
; pero que ha sido cerrada la puerta
RETURN
this is never going to be okif TAMPER=0 then GOTO LLAMA1; Miramos si esta el tamper activado, y si
it needs to be like this
I have not checked the rest of your code for other incidences of this errorif TAMPER=0 then GOSUB LLAMA1; Miramos si esta el tamper activado, y si
Bookmarks