Testroutine in main()
<syntaxhighlight lang="MPASM" line start="100" enclose="div">
while(1)
{ asm("bset, LATB #14"); asm("bclr, LATB #14"); asm("bset, LATB #14"); asm("bclr, LATB #14"); }
</syntaxhighlight >