Revision 1.0
Page 12 of 17
nRFready Microphone User Guide
Figure 3. Receiver board and microphone setup with PICkit2
TM
4.3 Compiling firmware
The project source files can be opened and compiled in MPLAB IDE. There are separate project files for
the microphone and receiver board. The receiver board can be compiled as-is with no changes, but the
microphone project uses the same source files for both microphones, referred to as the red microphone
and the blue microphone. This means you must make a small change to one of the source files to decide
which microphone firmware shall be compiled.
The
AdjustableParameters.h
defines whether the microphone project should be compiled for the red or
the blue microphone:
#define RED_MIC //comment this to create .hex file for BLUE_MIC
Note that pairing information is erased during programming, so both microphones must be paired with the
receiver again. Refer to section