thomgun_lc
Member level 5
simple avr project
Hi,guys why don't we learn together about programming using C compiler with Codevisionavr (and the emulator i use AVR studio 4) and try to programming the AVR MCU like AT2313. I'm newbie in programming AVR,so i don't have a much experience in programming with this MCU. I found a site which can help us to understanding AVR MCU http://www.avrbeginners.net.
Then i only try to turn on 1 led, and the program like this;
//include file
#include <90s2313.h>
//main program
void main (void)
{
//Port B as an output only
DDRB = 0x00;
//Turn on 1led
PORTB=0x01;
}
So,this is a simple program using C languagewhich i can build. Can anyone helpme to develop this simple program so this simple program become more complicated and interest by adding my simple program with your program. Maybe we can add some swicth or timer interrup etc. Need your participate.Let's learn AVR Together!!! 8O
Hi,guys why don't we learn together about programming using C compiler with Codevisionavr (and the emulator i use AVR studio 4) and try to programming the AVR MCU like AT2313. I'm newbie in programming AVR,so i don't have a much experience in programming with this MCU. I found a site which can help us to understanding AVR MCU http://www.avrbeginners.net.
Then i only try to turn on 1 led, and the program like this;
//include file
#include <90s2313.h>
//main program
void main (void)
{
//Port B as an output only
DDRB = 0x00;
//Turn on 1led
PORTB=0x01;
}
So,this is a simple program using C languagewhich i can build. Can anyone helpme to develop this simple program so this simple program become more complicated and interest by adding my simple program with your program. Maybe we can add some swicth or timer interrup etc. Need your participate.Let's learn AVR Together!!! 8O