Thursday, 9 October 2014

C program to Send 0-255 Character to port P0 in 8051 Controller

#include<reg51.h> //header file used in 8051 controller                
                             // programming
void main()
{
  Unsigned char x  ;
 For (x=0 ; x <= 255 ; x++)
          {
      P1 = x ;
          }


} //End of main

No comments:

Post a Comment

Compiler for C,C++ and Python {paste your programme to see the output}