Hardware Reference
In-Depth Information
Step 2: An overview of AVR microcontroller program
Now I need to generate the control code to simulate the circuit shown in Figure 1.5 to
make sure if the components shown in this figure are functioning properly. You can go
ahead and use CodevisionAVR software to generate the main code and save it in a Hex
format. In the next step, you will need to go back to Proteus and call up the Hex file which
you already have created and start simulating the schematic diagram which is shown in
Figure 1.5 .
In this project, an ATmega16 AVR microcontroller is used. Its program is written in C lan-
guage by CodvisionAVR software whose full content is available in attendant CD. Before
explaining the written program, you may want to see a flowchart of the program in Figure
1.6 to help understand the process better.
Search WWH ::




Custom Search