ST意法半导体
直播中

李兆存

8年用户 184经验值
私信 关注
[问答]

可以提供测试Arduino上的LIS2DW12示例代码吗

我想知道您是否可以提供任何示例代码来测试Arduino上的LIS2DW12(如果有的话)?谢谢!

以上来自于谷歌翻译


以下为原文

I am wondering if you could provide any sample code for testing the LIS2DW12 on Arduino if you have any? Thanks!

回帖(2)

张茜

2019-2-19 16:16:16
你好,
似乎Avnet在GIthub上发布了一些代码。不适用于Arduino,可能是一些演示板,但似乎有寄存器映射和功能。由于它是用C语言编写的,因此应该易于携带。
 
https://github.com/Avnet/M18QxIotMonitor/blob/master/lis2dw12.c
 
大卫

以上来自于谷歌翻译


以下为原文

Hello,
It seems that Avnet published some code on GIthub. Not for Arduino, probably some demonstration board, but seems to have the register mapping and functionality. Since it is written in C, it should be easily portable.

https://github.com/Avnet/M18QxIotMonitor/blob/master/lis2dw12.c

David
举报

曾玲娟

2019-2-19 16:24:44
ST在GitHub上提供PID(平台无关驱动程序)
https://github.com/STMicroelectronics/STMems_Standard_C_drivers
 
它可以移植到Arduino。

以上来自于谷歌翻译


以下为原文

ST provides PID (Platform Independent Drivers) on GitHub
https://github.com/STMicroelectronics/STMems_Standard_C_drivers

It can be ported to Arduino.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分