Selasa, 26 Februari 2013

Rangkaian Running Led Atmega16, Atmega8535, Atmega32



Rangkaian Running Led Atmega16 Atmega8535 Atmega32, Programe Running Led, minimum system Atmega16, Atmega8535, Atmega32, http://tokorobotsurabaya.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…..!

      }
}

0 komentar:

Posting Komentar

 
>
Menerima Pesanan Robot Line Tracer untuk Lomba dan Untuk Pelatihan Dasar dan Melayani Workshop