Cvavr Tutorial (Code Vision Avr)
Cvavr Tutorial (Code Vision Avr)
This software is very user friendly and it is very easy to make a program in this software. In
short CVAVR is for beginners.
4. Now a window opens for including various functions or header files in your program
automatically. First select your controller from chip option.
5. If you used LCD in your project then go to LCD and select LCD port.
6. If you want to enable ADC in your code then goto ADC and enble it and select various
options according to you requirement.
7. If you want to enable SPI mode then go to SPI and enable it and select various options
according to your requirement. As it is you can include many other options in your program
given in above window automatically.
9. Now this window opens 3 times save your project at the location you want and typr the file
name like evm in all 3 windows. All 3 file names must be same.
10. Now a project window opens where necessary header files are included automatically. You
also can include any header file you want from the CVAVR library.
11. Declare all the variables above and scroll down to see while(1) function and write your code
in while(1).
12. Click the button as shown in window for building your project.
13. Now a windows open make sure there is no error and no warning.