Hi,
Doing a for will not result in a precise timing. I guess your delay is in
the main. However in parallel there are a lot of interrupts that take
processing power.
So if you need a precise timing use the agenda functions.
If you need an approximate timing, yes you can use a for, and j
Hello,
I never was able to corrupt the bootloader but I analyzed a corrupted one
from others.
I feel it is not the program that you upload that corrupt the bootloader. It
looks like it is more the process to upload that has an influence, like:
- reset during upload,
- bad BT communication
- lo
Hi,
The code handling the analog sampling of the microphones is in
e_ad_conv.c and e_ad_conv.h
it is quite tricky and close to the HW periphery definitions of the
microcontroller dsPIC30F6014A.
The AD is stated to be 100 Ksps (kilo sample per second).
Thus in theory yes you can sample at 50K.