# Help ATmega32 - Simple Example Code

**URL:** <https://community.sparkfun.com/t/help-atmega32-simple-example-code/542>\
**Category:** MicroMod\
**Tags:** avr-atmel\
**Created:** [May 2, 2005, 8:44am UTC](https://community.sparkfun.com/t/help-atmega32-simple-example-code/542 "2005-05-02T08:44:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt1](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Matt1](https://community.sparkfun.com/u/Matt1)\
**Post date:** [May 2, 2005, 8:44am UTC](https://community.sparkfun.com/t/help-atmega32-simple-example-code/542/1 "2005-05-02T08:44:22Z")

</div>

Hi,

I need a couple simple example code for ATmega32 processor. ( I am begginer… read/write from/to ports,work with eeprom,flash,sram,Dysplay,keyboard ) . Anybody know a web page where can I find it ?

I would like to make program with assembler , C whitch program is best ?

:shock:

Thanks a lot…

P.S: I am using AVRstudio4…

---

<div class="post-metadata">

**Author:** ![Matt1](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Matt1](https://community.sparkfun.com/u/Matt1)\
**Post date:** [May 5, 2005, 9:03am UTC](https://community.sparkfun.com/t/help-atmega32-simple-example-code/542/2 "2005-05-05T09:03:27Z")

</div>

Nobody can help me…? 😢

---

<div class="post-metadata">

**Author:** ![bobgardner](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bobgardner](https://community.sparkfun.com/u/bobgardner)\
**Post date:** [May 5, 2005, 11:36am UTC](https://community.sparkfun.com/t/help-atmega32-simple-example-code/542/3 "2005-05-05T11:36:58Z")

</div>

There are lots of examples at [avrfreaks.net](http://avrfreaks.net) and [avrbeginners.net](http://avrbeginners.net). Check out the imagecraft c compiler. Very simple to set up and use, good support from imagecraft. Most compiler vendors and board vendors have examples of how to use their products. Which mega32 board are you using?

---

<div class="post-metadata">

**Author:** ![Matt1](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Matt1](https://community.sparkfun.com/u/Matt1)\
**Post date:** [May 6, 2005, 6:05am UTC](https://community.sparkfun.com/t/help-atmega32-simple-example-code/542/4 "2005-05-06T06:05:30Z")

</div>

Cool … Super pages… Thanks a lot, Thanks a lot…

😛

I am using AVR ATmega32…

---

<div class="post-metadata">

**Author:** ![Caffeine](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@Caffeine](https://community.sparkfun.com/u/Caffeine)\
**Post date:** [May 7, 2005, 6:34am UTC](https://community.sparkfun.com/t/help-atmega32-simple-example-code/542/5 "2005-05-07T06:34:08Z")

</div>

I use ATMEGA32’s a lot, I have some in TQFP packages on boards made using Spark Fun’s service, which turned out extremely well.

I use the AVR-GCC compiler, it’s free and very well supported. I use a custom download cable and the AVR-DUDE programming software, also free
