/*****************************************************
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....!
Silahkan Di coba....!