setup internal trigger; add DELAY_BACKWARD_COMPATIBLE for _delay_ms(var).