Pacer clock saves subroutine calls


Posted on Feb 19, 2013

This Design Idea outlines an easy-to-implement time-delay routine that requires no subroutine calls and thus avoids possible stack-overflow problems (Listing 1). This method also saves RAM space by requiring in most cases only two variables: the PACER_CLOCK as a free-running counter and another variable introduced at a particular instance (for example, TIME_VAR).






Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Insect Repellant
Audio Millivoltmeter
Telephone Intercom - DTMF
40 meters CW Transceiver
10 Watt CB Linear amplifier
UHF TV Linear Amplifier (450-800MHz)
Ultra-precise long time delay relay
Temperature-controuer
Basic Multivibrator
Electronics Circuit Application: New Vacuum Tube Amplifier
Nixie Clock 2



Top