CodeVision Tutorial
Sjvalley Engineering
Contents About this Tutorial .......................................................................................................................... 2 Important Information .................................................................................................................... 2 Create Codevision Project ............................................................................................................... 3 Include .H and .C files in CodeVision ............................................................................................... 6 Sample .H File .................................................................................................................................. 7 Sample .C File ... 8 SJVE Page 1 of 8 About this Tutorial This tutorial will guide you on how to create a project in CodeVision. Furthermore, it explains how to burn the code onto an Atmega chip using STK500 board and program the microcontroller to output serial data that you can read to and from the microcontroller. Finally, there is a section that explains how to setup header files in CodeVision Important Information 1. The clock on the STK500 kit is 3.686Mhz The clock on the PCB Kit is 16.000Mhz 2. Do not change the fuse bit settings in CodeVision unless you know what you are doing. Changing fuse bit setting can disable the Atmega microcontroller SJVE ...