Steve Horvath wrote: > Hello > I am fairly new to PIC programming, but have a fair bit of experience form > school involving the Intel 8031. I was wondering if someone could write a > quick program (2 minute job) to do the fallowing on a 16f84, so that I Let me get this straight... You want to LEARN by having someone write the code for you? And you want it done in 2 Minutes? What wrong with this picture? > could learn about these functions by doing them: > -push W onto a stack, and pop W off of the stack > - input from port A to W when there is an interrupt > - have a 10ms delay using the timer > - output to pb.0 through pb.4 after the interrupt > - have a 1 second timer using loops, and have the output (port B) blink on > and off every second thereafter. > > oh, and could someone tell em the difference between portA and trisA? > > thanks for your help, this should pretty well be what I need to get > everything straightened out. > > Steve Horvath -- * | __O Thomas C. Sefranek tcs@cmcorp.com |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41, 448.625 Mhz ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org