#Include #Include #Define A - Bit PORTB.4 Void Main (DDRB 0x10 A - Bit 0 While (1) (A - Bit A - Bit Delay - Ms (200) ) )

You might also like

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

#include<mega16.

h>
#include<delay.h>
#define a_bit PORTB.4

void main()
{
DDRB=0x10;
a_bit=0;
while(1)
{
a_bit=~a_bit;
delay_ms(200);
}
}
Fb.com/65waqas

You might also like