Edited to use test tickVirtualtimer1() instead of VTIMER:n