Hi Rob,
Thank you once again for your input.
Tested it with no luck. Not working as it seems.
Maybe am doing something wrong... here's the relevant code am using;
Setup code:
-- setup the timer0_isr_interval library
const word TIMER0_ISR_RATE = 1000 -- 1 kHz isr rate
const DELAY_SLOTS = 1 -- support 1 delay at the same time
include ..\Support\timer0_isr_interval_ROB
--include timer0_isr_interval
timer0_isr_init() -- init timer0 isr
set_delay(0, 500)
RunTime (inside Forever Loop) code:
if (check_delay(0)) then
set_delay(0, 500)
--
RlyCtl = !RlyCtl
CheckBttn()
end if
Is my code ok?
Cheers,
Filipe Santos