Hi,
I am working on MPU-6050 sensor.
I have downloaded the NRF5-MPU-EXAMPLE from this link
in that there is no SES file.
How to create a SES file to work this code in segger..
Hi,
I am working on MPU-6050 sensor.
I have downloaded the NRF5-MPU-EXAMPLE from this link
in that there is no SES file.
How to create a SES file to work this code in segger..
Hi,
I would recommend that you copy a SES project from another example in the same SDK version and modify this with the paths and source files required for the MPU examples. This video tutorial should show you how to add files into the SES project.
For instance, if you want to use nrf5-ble-mpu-data-ready-interrupts example on a PCA10040 board, you should copy the ses folder from examples\ble_peripheral\ble_app_uart\pca10040\s132\ into examples\nrf5-mpu-examples\nrf5-ble-mpu-data-ready-interrupts\pca10040\s132\ and then add the required MPU library files.
Best regards,
Jørgen
You need to define the symbols (in project preprocessor symbold), configuring what device you are using. This is specified in the "How to use" section of the GitHub repository page.
Please go through all the Segger Embedded Studio video tutorials. They explain how to do all this.
while in a code itself we need to select MPU-6050..? and TWI..?
You set it in the preprocessor symbols.
Hi,
Thank you
i did that one.
The sdk_config.h file must be the BLE UART sdk file or
MPU_EXAMPLE\nrf5-ble-mpu-simple\pca10040\s132\config sdk_config.h
which one we need to use?
HI,
I got one error it show sensorsim.h : No such directory
and app_mpu.h : No such directory.
HI,
I got one error it show sensorsim.h : No such directory
and app_mpu.h : No such directory.
Means you have not included the paths to the header files in the project include paths. How to do that is described in the video tutorials I linked you. The MPU project you are using is not based on ble_app_uart, but on ble_app_template. The ble_app_uart example does not include all header file paths that is used by ble_app_template. With that said, it does not look like the example use sensorsim, and you can remove the inclusion of the header file from main.
Hi,
I command the sensorsim.h header file..
but it shows app_mpu.h error.but i added the header file
You have not included the path to the header file in the project settings.
Hi,
Even though it won't work same error app_mpu.h : No such file or directory
is this the file path in the drive or ??
..\..\..\..\..\nrf5-mpu-examples