3.2.10 RNBD Code Generation & Compilation

  1. Click the Generate button which will be next to Project Resource

  2. Include the header #include "mcc_generated_files/examples/rnbd_example.h" in main.c

  3. Call the function Example_Initialized(); in main() after SYSTEM_Initialize().
  4. Pin Mapping Table between MCU & RNBD Click
    S.noPIN FunctionalityAVRRNBD Click
    1 Receive (RxD) RA1 Tx
    2 Transmit (TxD) RA0 Rx
    3 BT_RST RD7 RST

  5. Connect the development board of your choice and connect the RNBD to the proper slot() as shown below.

    Note: Connect RNBD Click to Slot 1 as shown in below image
    Important: Slot was decided based on the UART Instances which was configured for this example application (PIN Mapping between MCU & RNBD Click).

  6. Build the Generated Project:

  7. Program to the Board: