Kommentar: Einfügen von HTML im Kommentar: Link einfügen: <a href="LINKURL" target="_blank">LINKTITEL</a> Bild einfügen: <img src="BILDURL"> Text formatieren: <b>fetter Text</b> <i>kursiver Text</i> <u>unterstrichener Text</u> Kombinationen sind auch möglich z.B.: <b><i>fetter & kursiver Text</i></b> C Quellcode formatieren: <code>Quellcode</code> BASIC Quellcode formatieren: <basic>Quellcode</basic> (Innerhalb eines Quellcodeabschnitts ist kein html möglich.) Wichtig: Bitte mache Zeilenumbrüche, bevor Du am rechten Rand des Eingabefeldes ankommst ! -> I > > > Hi Peter, > > > > > > There is a remark about the use of the Y-register in the English manual ('do not > > > use it') but I was uncertain wether that also holds when the register is saved with > > > push and pop. > > > The FFT-routines use a lot of (pointer) variables so I can hardly do without the > > > Y-register. But what is the effect on the program flow when I disable global > > > interrupts? Will that do any damage? Are there any side effects? > > > > There is no damage. The only possible side-effect is that that the Timer Interrupt > > could be delayed, and the clock, multitasking & servos might be not accurate. > > OK, thanks. I included a warning for these effects in the extended version of the FFT > routines which I attached with this posting. The routines: > 1. perform a wave capturing (a series of AD conversions in Free Running Mode) > 2. execute 'butterfly operations' > 3. calculate the frequency spectrum with an option to return the index of the heighest > peak (this is handy for commanding the robot). > > Regards, > Pepe