/**********************************************************************
*                              Gym Time
*
*                    Michael Pearce 26 March 2001
*
* Electronics Workshop, Chemistry Department, University of Canterbury
***********************************************************************
Processors Used: PIC12C508/509
***********************************************************************
Disclaimer:
The following code has been released so that someone may possibly find
something useful in them. The Author and the company he works for takes
no responsibilty for the use of this code or any damage that may be
caused by using part of all of this code.
***********************************************************************
Overview:
 This was a very simple timer and buzzer that I made for a client that
 wanted timer for doing gym circuits in his home gym.
 I made this one up on a piece of vero board, and it injects a signal
 into an audio line that was fed into an amplifier from his CD Player.
 This cut costs dramatically due to no extra amplifier/speakers needed.

 The time is set by the state of GP0,1,2,3 and is calculated by the
 binary value * 5 + 30 seconds. This allows the interval to be set from
 30 seconds to 105 seconds in 5 second increments. This is only approximate!!

 GP5 was fed through a resistor and capacitor type set up into one channel
 of the audio and just does a short Buzz at the end of each interval.

 Sorry there are not circuit diagrams avalaible, cause I never actually
 did any - just used trial and error when I made it up.

Here is a list of the files:

GYMTIME1.C
DELAY.H
DELAY.C

*************************** GYMTIME1.C ********************************
USES: delay.h, delay.c

DESCRIPTION:
Produces a beep at a constant interval set by status of RA0,1,2,3 pins.

************************* DELAY.H *******************************
Modified version of the delay.h routines supplied by HiTech PICC

************************* DELAY.C *******************************
Modified version of the delay.h routines supplied by HiTech PICC

********************************************************************/













