Steps for making a new project in AVR Studio 4:
Step 1: From file menu click on project. Under project select project wizard
|
Project Wizard
|
Step 2: Click on new project then click next
|
New project |
Step 3: In this step, first of all select avr gcc compiler since we are writing in c language. Then tick on both the options.In next step, choose directory as per your choice.
|
Directory |
Step 4: In this step, first of all select avr simulator then scroll down to choose microcontroller. In this case, we are using atmega 16. After that click on finish. We are ready to write our first program i.e. led blinking.
|
Controller selection |
Step 5: Write our first program. Then compile it. If there is no error in syntax our hex file will be generated.
|
Program |
Hope you had enjoyed the tutorial. In the next tutorial, we will simulate this program in proteus. Stay tuned for more updates !!
No comments:
Post a Comment