Pages

Running Led ATmega16, ATmega8535, ATmega32


Running Led ATmega16, ATmega8535, ATmega32, Minimum system ATmega16, ATmega8535, ATmega32, Mikrokontroler, http://toko-robot.blogspot.com/


/*****************************************************
This program was produced by the
CodeWizardAVR V2.05.0 Evaluation
http://www.toko-robot.blogspot.com
Project :  Running Led
Version : 1 (satu)
Date    : 28/01/2013
Programer  :  Su’udi

Chip type               : ATmega16
Program type            : Application
AVR Core Clock frequency: 11.059200 MHz
Memory model            : Small
External RAM size       : 0
Data Stack size         : 256
*****************************************************/

#include <mega16.h>
#include <delay.h>

// Declare your global variables here

void main(void)
{
// Declare your local variables here

PORTC=0x00;
DDRC=0xFF;                            //PortC difungsikan sebagai output

while (1)
      {
      // Place your code here
      PORTC=0xFF;                   // Semua PIN pada PORTC bernilai hight(1)
      delay_ms(1000);                // Perintah tunda…..!

      }
}


Silahkan Di coba....!

About Us

I'm Hung Duy, the founder of Xml Blogger Templates (XBT). I'm a freelance writer on topics related to Website Optimization (SEO), blogger customizations and making money online. I'm blogging since 2006 and I'm currently a guest blogger on Blogging With Success.
Follow Me on Twitter or On Facebook


Visit xmlbloggertemplates.com for more Blogger Templates

0 komentar:

Posting Komentar

 
Designed by