Hello @Asimoes,
Merging the two examples will depend on the specific implementation, but here are a few key points to keep in mind:
-Port the other example to the more difficult example to make portability easier.
-Ensure to merge the pin configurations.
-Import the necessary drivers used in the example.
-Include both the initialization functions and any application specific functions required for your use.case.
After making any changes, always verify that the project builds successfully.
BR
Habib