/*
 * task7 - task for os
 *
 * $Id: task7.c,v 1.8 2002/08/02 20:05:07 tomdean Exp $
 */

#include <sys/ports_def.h>
#include <os.h>
#include <lcd.h>
#include <libeeprom.h>

unsigned char stack7[STACK_SIZE];

void task7() {
  register unsigned short loop_count = 0;
  unsigned long start, end;

  while (1) {
	start = tick_count;
	hex_to_ascii_4(++loop_count, TASK7_COUNT);
	
	SYS_WAIT_TIMER(0x0080);  /* x 4.1 msec */
	
	end = tick_count;

	hex_to_ascii_4((unsigned short)end-start, error1+36);
  }
}

