Chapter 2 Turining On LED with A Tmega 128A With AVR Program - TopicsExpress



          

Chapter 2 Turining On LED with A Tmega 128A With AVR Program #include int main(void) { DDRA=0xFF; PORTA=0xFF; return 0; } Direction Set Register (DDRx,x=A-G)descrides whether we use the pin to Input or Output or not. Data Register (PORTx,x=A-G) is used to transmit the data to the pin. Pin input register ( PINx,x=A-G) informs the pin input value. Kyi Hsu Wai...... Microcontroller Korea Aerospace Technology.......
Posted on: Fri, 21 Jun 2013 07:59:33 +0000

Trending Topics



Recently Viewed Topics




© 2015