ContBaseTiempo --;
if(ContBaseTiempo.tot == 0)
{
output_bit(LED ,!input_state(LED));
ContBaseTiempo.tot = BASE_TIEMPO;
}
movlw 1
subwf ContBaseTiempo.bt[0],f ;parte baja de la variable
btfss STATUS,C
goto Sigue
subwf ContBaseTiempo.bt[1],f ;parte alta de la variable
btfss STATUS,Z
goto Sigue
goto Dentro_if
Dentro_if
;cuerpo del if
Sigue
;fuera del if
Hola micro. Mi código está mal! A ver...
Si, perdón por eso!
Saludos.