cancel
Showing results for 
Search instead for 
Did you mean: 

Read values from LIS3DH using nrf52832 SOC and Mbed OS platform

YV1
Associate

I want to read a X,Y,Z values from the LIS3DH Accelerometer(SLAVE) and nrf52832 SOC(Master) using Mbed OS platform.

Can anyone have a example program for this?

Please share with me...

Thanks & Regards,

Yuvaraj

2 REPLIES 2
Eleon BORLINI
ST Employee

Hi Yuvaraj, we have no complete code for LIS3DH interfacing with nrf52832 SOC, but you can check at this link if this code for NRF51822+LIS3DH can be a starting point your desiderata.

Otherwise, I suggest you to start from the github library for arduino nrf5 (SPI or I2C communication) at this other link and integrate in it the LIS3DH libraries for arduino. Regards

Thank You Eleon Borlini...