spark - /* Thisprogramwasproducedbythe...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
/*********************************************  This program was produced by the  CodeWizardAVR V1.24.0 Standard  Automatic Program Generator  Copyright 1998-2003 HP InfoTech s.r.l.  http://www.hpinfotech.ro  e-mail:office@hpinfotech.ro  Project :   Version :   Date    : 2004-08-01  Author  : Banh Quoc Tuan                    Company :                                   Comments:   Chip type           : ATmega8L  Program type        : Application  Clock frequency     : 8.000000 MHz  Memory model        : Small  External SRAM size  : 0  Data Stack size     : 256  *********************************************/  #include <mega8.h>     #include <stdio.h>      #include <delay.h>    #include <stdlib.h>  unsigned int   ticks;            // counts ~58.88ms. timer overflows   unsigned int   old_time; //icp_previous;      // last revolution Timer1 count   unsigned int   new_time;  //icp_current;      // this revolution Timer1 count   unsigned int lap_time;  unsigned int resolution;     unsigned int rpm;  unsigned int ref_time;         
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
unsigned int falling_time;     unsigned int rising_time; 
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

spark - /* Thisprogramwasproducedbythe...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online