> Hi, > > I want to transfer original 16f84 code to a 16f877 or a 16f88 because > of the additional programming space needed. The code (a metronome > combined with tuning fork) uses TMR0 interrupt without prescaler > (interrupt at roll-over of TMR0) for the metronome function. A > non-interrupt driven routine for the tuning-form mode (generating a > sine at the selected frequency using a look-up table using a > resistance ladder DAC). Tuning fork works fine on 16f877 and 16f88. > Interrupt works fine until I change the tempo (using keys) a few time. > Then suddenly the whole program 'hangs'. I did take care of the > changed starting RAM (0x020) and the default ADC settings for port A > on the 16f877/16f88. > > Does anyone has an idea what is wrong? Are there any differences > between 16f84 and the other chips when interrupts are concerned? > > Regards, > > Stefan > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.556 / Virus Database: 348 - Release Date: 12/26/2003 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body