I asked directly Darrel Taylor (Technical Support) and he gave be the good answer :
I simply need to clear the interrupt flag (TMR2IF) in PIR1 before leaving the Interrupt Service Routine
...
Type: Posts; User: MikeBZH; Keyword(s):
I asked directly Darrel Taylor (Technical Support) and he gave be the good answer :
I simply need to clear the interrupt flag (TMR2IF) in PIR1 before leaving the Interrupt Service Routine
...
Demon,
Thank you for your advice.
Of course I did what you suggest : write a very small program and test it and that's how I found that the problem was coming from ReadCode and its execution...
Hi mark_s,
The data, as read by Readcode are organized in bytes, not in words and declared by DB instructions .
For example, this is a line from the data tables :
DB 67, 67, 82, 67, 66, 67,...
Hi,
I am trying to generate an audio wave using the PWM of a 18F2685 working at 32 MHz (with PLL)
The sampling rate is about 58 kHz, provided by the PWM.
I'am using PBP 3.0 and a PicKit 2 for...