Wow, Thanks.
I'm gonna try this. Tried the for..next just yet but it won't go below 5us delay.
Jerson, i think this would do the trick, but i need to figure out how to let the software 'choose' the right delay .. I need to be able to feed the number of uS to delay to the asm macro.
Something like ...
Code:ASM Delay1us macro time for x = 0 to time goto $+1 next ENDASM
Bookmarks