el_supremo
Well-known member
You're right. It doesn't need writable blocks.
Pete
Pete
// pin specified in user sketches should be A0 to A13
// numbers can be used, but the recommended usage is
// with the named constants A0 to A13
// constants A0-A9 are actually 14 to 23
// constants A10-A13 are actually 34 to 37
How can I have both adc and dac (mutually exclusively running) in the same sketch?
PDB0_SC = PDB_CONFIG | PDB_SC_SWTRIG;
PDB0_SC = PDB_CONFIG | PDB_SC_SWTRIG | PDB_SC_PDBIE | PDB_SC_DMAEN;
#define FILTER_LOPASS 0
#define FILTER_HIPASS 1
#define FILTER_BANDPASS 2
#define FILTER_NOTCH 3
#define FILTER_PARAEQ 4
#define FILTER_LOSHELF 5
#define FILTER_HISHELF 6
#define PDB_PERIOD 1087 // 48e6 / 44100
"analogReference(INTERNAL); // range 0 to 1.2 volts"
//analogReference(DEFAULT); // range 0 to 3.3 volts
I use the same mic with no problem. You are aware there is a gain control on the mic circuit board? Also I would comment out the use of POWER_LED_PIN as I believe it is used in the audio library ( at least it is on dim when the library is in use).