In this experiment led is connected to PORTC will be turned on and off with the instruction BIT
# include <mega8535.h>
# include <delay.h>
// Declare your global variables here
void main(void)
{
DDRC=0XFF;
while (1)
{
// Place your code here
PORTC.0=0;
delay_ms(100);
PORTC.0=1;
delay_ms(100);
};
}