Professional Documents
Culture Documents
#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++) ) )
#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++) ) )
#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++) ) )
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++);
}
}