1 Reply Latest reply on Oct 24, 2020 1:12 AM by SheetalJ_96

    Easy way to combine two application examples

    RoHe_4796991

      Hello,

      I'm using ModusToolbox 2.2.0 and the CYW20706 dev board. Is there an easy way to combine two example applications? I'm trying to combine the Audio Sink example with the Hands-Free example. There doesn't seem to be a straightforward way to do this.

       

      For now, I've created an Empty Application, and used the Bluetooth Configurator to setup (to the best of my knowledge) the two Profiles. However the resultant code is much more sparse than either of the two examples. Should I just be copy and pasting the .c and .h files from the two examples into one project?

       

      I also need to make the device a SPI slave device. Is there somewhere where I can configure the pins for the application I want? Is there example code showing how to setup and use the SPI bus?

       

      Thanks,

      Rob