//***************************************************************************** // // File Name : 'put_file_name_here.file_type' // Title : Program Template // Author : I.M. Programmer // Created : 11FEB2005 // Revised : 14FEB2005 // Version : 1.0 // Target MCU : Atmel AVR series // Editor Tabs : 4 // // Description : This is a template for C program and Header files // // Revision History: // When Who Description of Change // ------- --------- --------------------------- // 13FEB2005 IMP Added Macros // 11FEB2005 IMP Created program // //***************************************************************************** /*---------Macros----------*/ #define PI 3.141592653 // replaces all instances of PI in your code with 3.141592653 /*---------Include Files----------*/ #include "global.h" // include global settings for the microcontroller /*---------Function Prototypes----------*/ void init(void); // prototype tells compiler about data type for return and args /*---------Global Variables----------*/ // declare any global variables here /*---------Body of Program Code----------*/ int main(void) { // declare variables here // write your program code here return 0; } /*---------Function Definitions-----------*/ void init(void) // initialization function { // declare variables here // write function code here }