#Include Void Main (Inti TRIS B 0 /// Port B As O/p While (1) (PORTB 0X00 For (I 0 I 100 I++) Portb 0Xff For (I 0 I 100 I++) ) )

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

#include<pic.

h>
Void main()
{
Int i ;
TRIS B =0; /// port b as o/p
While(1)
{
PORTB=0X00;
For( i=0;i<100;i++);
PORTB = 0XFF;
For( i=0;i<100;i++);
}
}

You might also like