Last active
August 29, 2015 14:13
-
-
Save detik19/6f627abcc806ec0f9c08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************************************** | |
This program was produced by the | |
CodeWizardAVR V2.04.4a Advanced | |
Automatic Program Generator | |
© Copyright 1998-2009 Pavel Haiduc, HP InfoTech s.r.l. | |
http://www.hpinfotech.com | |
Project : Hello World | |
Version : | |
Date : 25/12/2010 | |
Author : Tedy Tri Saputro | |
Company : Belajar Elektronika Yuk | |
Comments: | |
http://elektronikayuk.wordpress.com | |
Chip type : ATmega8535 | |
Program type : Application | |
AVR Core Clock frequency: 8,000000 MHz | |
Memory model : Small | |
External RAM size : 0 | |
Data Stack size : 128 | |
*****************************************************/ | |
#include < mega8535.h > | |
#include < delay.h > | |
// Declare your global variables here | |
void main() | |
{ | |
PORTA=0x00; | |
DDRA=0xFF; | |
while (1) | |
{ | |
// Place your code here | |
PORTA=0x00; | |
delay_ms(500); | |
PORTA=0xff; | |
delay_ms(500); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment