Total Pageviews

PRASO's Solution for EMBETRONIX & ROBOTIX

SOLUTION PROVIDER OF ANY SORT OF PROBLEMS RELATED TO ELECTRONICS AND TELECOMMUNICATION

Tuesday, March 1, 2011

Display All The Value from 0 to 255 in Binary Format using ATMEGA 16 MicroController

#include
#include
main ()
{
unsigned char i;
DDRB=0xFF;
while(1)
{
for(i=0;i<256;i++)
{
PORTB=i;
_delay_ms(500);
}
}
}



No comments: