Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:gsensor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:common:applications:gsensor [2026/02/23 21:16]
gray old revision restored (2025/02/18 01:40)
products:sbc:common:applications:gsensor [2026/11/17 05:08] (current)
nick [Demo Source Code]
Line 18: Line 18:
 The source code only realizes the use of default settings to read data, for other functions, you can implement them by yourself. The source code only realizes the use of default settings to read data, for other functions, you can implement them by yourself.
  
-```c gsensor_sample_data.c+```c gsensor_sample_demo.c
 #include <stdio.h> #include <stdio.h>
 #include <sys/ioctl.h> #include <sys/ioctl.h>
Last modified: 2026/11/17 05:08 by nick