Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lis3de_STdC examples reference lis3dh libraries instead #18

Closed
kebes22 opened this issue Nov 24, 2018 · 3 comments
Closed

lis3de_STdC examples reference lis3dh libraries instead #18

kebes22 opened this issue Nov 24, 2018 · 3 comments

Comments

@kebes22
Copy link

kebes22 commented Nov 24, 2018

I tried renaming all lis3dh references to lis3de, but some structures and defines still seem to be different.

@albezanc
Copy link
Contributor

lis3dh and lis3de are two different part numbers, so drivers refers to the related datasheets (it is possible to find the datasheet version reference inside the readme file inside every part number folder).

my suggestion is use the proper part number driver.

Thank for your comment

@kebes22
Copy link
Author

kebes22 commented Dec 1, 2018

I am not referring to the datasheets. I am saying the example code (e.g. read_data_simple.c, wake_up.c, etc.) in the lis3de_sTdC/examples folder are using the lis3dh library api calls instead of lis3de. Some of the data structures are also different, so it doesn't work to just rename lis3dh to lis3de.

@albezanc
Copy link
Contributor

albezanc commented Dec 5, 2018

Sorry for my misunderstanding now the issue should be fix.

Thanks for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants