PIC24HJ64GP502

Aus Wiki_2020

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 >