12.07.2014 Views

Introduction to Microcontrollers

Introduction to Microcontrollers

Introduction to Microcontrollers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Introduction</strong><br />

<strong>to</strong> <strong>Microcontrollers</strong><br />

Electronics<br />

Club IIT<br />

Kanpur<br />

Computers<br />

and <strong>Microcontrollers</strong><br />

Computers<br />

<strong>Microcontrollers</strong><br />

AtMega 16<br />

Port I/O<br />

Programming<br />

ATmega 16<br />

Applications<br />

Code<br />

void main()<br />

{<br />

DDRA=0x00;// or DDRA.0=0<br />

}<br />

{<br />

PORTA=0b00000001;<br />

delay_ms(500);<br />

PORTA=0b00000000;<br />

delay_ms(500);<br />

}<br />

SetPortDirection();<br />

will it blink once ?<br />

Electronics Club IIT Kanpur<br />

<strong>Introduction</strong> <strong>to</strong> <strong>Microcontrollers</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!