当前位置:网站首页>STK8321 I2C(昇佳-加速度传感器)示例
STK8321 I2C(昇佳-加速度传感器)示例
2022-08-01 00:32:00 【Ch_champion】
概述
做个笔录,最近项目使用了此款gsensor,实现了简单示例
一、环境:
硬件平台(RTL8762DK)
IDE:keil5.29
1)、原理图
二、代码:
1、stk8321.h
/**
*********************************************************************************************************
* Copyright(c) 2018, Realtek Semiconductor Corporation. All rights reserved.
*********************************************************************************************************
* @file io_adc.h
* @brief
* @details
* @author yuan
* @date 2018-12-07
* @version v1.0
*********************************************************************************************************
*/
#ifndef __STK8321_H
#define __STK8321_H
#ifdef __cplusplus
extern "C&
边栏推荐
猜你喜欢
MYSQL逻辑架构
Google Earth Engine——Error: Image.clipToBoundsAndScale, argument ‘input‘: Invalid type的错误解决
Team of Professor Chen Jianyu of Tsinghua University | Contact Safety Reinforcement Learning Framework Based on Contact-rich Robot Operation
一体化步进电机在无人机自动机场的应用
浏览器下载快捷方式到桌面(PWA)
从零造键盘的键盘超级喜欢,IT人最爱
Notes on how to use zeno
[微服务]分布式事务解决方案-Seata
SVN server construction + SVN client + TeamCity integrated environment construction + VS2019 development
Application of integrated stepper motor in UAV automatic airport
随机推荐
【MATLAB项目实战】LDPC-BP信道编码
Usage of mysql having
二叉树遍历非递归程序 -- 使用栈模拟系统栈
Keil nRF52832 download failed
Matlab / ArcGIS 处理GPM全球月均降水数据
开源好用的 流程图绘制工具 drawio
Basic use of vim - bottom line mode
Rasa 3.x 学习系列- Rasa - Issues 4918 学习笔记
Key Points Estimation and Point Instance
TFC CTF 2022 WEB Diamand WriteUp
An open source and easy-to-use flowchart drawing tool drawio
Design the message queue storage MySQL form of message data
MVCC总结
To help the construction of digital government, the three parties of China Science and Technology build a domain name security system
How to Design High Availability and High Performance Middleware - Homework
Matlab/ArcGIS processing GPM global monthly precipitation data
Application of integrated stepper motor in UAV automatic airport
【1161. 最大层内元素和】
Unity3D学习笔记10——纹理数组
面试题:实现死锁