> Scott Gilbert wrote: > > My main problem at this point are the time delays in ASM. Any input > would be appreciated. > > I am working on my first custom project with a 16F84. I need to output > 15 one second pulses with variable delays between pulses. I am using a > binary switch to select the delay variables and a switch to start the > pulse sequence. Once the sequence has started the delay time will not > change until all 15 pulses have finished. The different delay > conditions between pulses are: > (A) 4 seconds (B) 8 seconds (C) 12 seconds (D) 16 seconds (E) 20 > seconds (F) 40 seconds (G) 60 seconds (H) 80 seconds (I) 100 seconds > (J) 120 seconds > (K) 140 seconds (L) 160 seconds (M) 180 seconds and (N) 200 seconds. Have a look at "Button", "Pulseout", "Pause", and "Nap". I think you can knit one from the below: Basic Stamp Compatible PIC Source Book/Disk On-Line Version Free! Now converted to MicroChip Code, still available in Parallax Code. A collection of ready-to-use assembly language routines based on the instruction set of the BASIC Stamp ¨ single-board computer by Scott Edwards Electronics. Includes useful schematics. For MicroChip code: http://www.dontronics.com/convert.html For Parallax code: http://www.dontronics.com/see.html Don McKenzie mailto:don@dontronics.com http://www.dontronics.com Don's Download Dungeon: http://www.dontronics.com/download.html Australian Electronics Ring http://www.dontronics.com/aering.html Win $500USD Cash. Micro design contest: http://www.simmstick.com