资源简介
Ardino的I2Cdev库,可用于开发MPU6050陀螺仪,或用于其它Arduino I2C开发.
代码片段和文件信息
// I2Cdev library collection - Main I2C device class
// Abstracts bit and byte I2C R/W functions into a convenient class
// 2013-06-05 by Jeff Rowberg
//
// Changelog:
// 2013-05-06 - add Francesco Ferrara‘s Fastwire v0.24 implementation with small modifications
// 2013-05-05 - fix issue with writing bit values to words (Sasquatch/Farzanegan)
// 2012-06-09 - fix major issue with reading > 32 bytes at a time with Arduino Wire
// - add compiler warnings when using outdated or IDE or limited I2Cdev implementation
// 2011-11-01 - fix write*Bits mask calculation (thanks sasquatch @ Arduino forums)
// 2011-10-03 - added automatic Arduino version detection for ease of use
// 2011-10-02 - added Gene Knight‘s NBWire TwoWire class implementation with small modifications
// 2011-08-31 - added support for Arduino 1.0 Wire library (methods are different from 0.x)
// 2011-08-03 - added optional timeout parameter to read* methods to easily change from default
// 2011-08-02 - added support for 16-bit registers
// - fixed incorrect Doxygen comments on some methods
// - added timeout value for read operations (thanks mem @ Arduino forums)
// 2011-07-30 - changed read/write function structures to return success or byte counts
// - made all methods static for multi-device memory savings
// 2011-07-28 - initial release
/* ============================================
I2Cdev device library code is placed under the MIT license
Copyright (c) 2013 Jeff Rowberg
Permission is hereby granted free of charge to any person obtaining a copy
of this software and associated documentation files (the “Software“) to deal
in the Software without restriction including without limitation the rights
to use copy modify merge publish distribute sublicense and/or sell
copies of the Software and to permit persons to whom the Software is
furnished to do so subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
===============================================
*/
#include “I2Cdev.h“
#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE
#ifdef I2CDEV_IMPLEMENTATION_WARNINGS
#if ARDUINO < 100
#warning Using outdated Arduino IDE with Wire library is functionally limiting.
#warning Arduino IDE v1.6.5+ with I2Cdev Fastwire implementation is recommended.
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-04-25 22:00 I2Cdev\
文件 56408 2018-04-25 22:00 I2Cdev\I2Cdev.cpp
文件 12215 2018-04-25 22:00 I2Cdev\I2Cdev.h
文件 859 2018-04-25 22:00 I2Cdev\keywords.txt
文件 416 2018-04-25 22:00 I2Cdev\library.json
- 上一篇:cameraCalibration.cfg
- 下一篇:DNS协议解析源码程序
相关资源
- arduino鼠标点击绝对坐标
- 74LS47驱动7段数码管实验
- usbser.sys和mdmcpq.PNF和mdmcpq.inf还有另一
- 自动计算mpu6050的偏移量MPU6050_calibra
- XLoader hex文件
- arduino-uno-r3 电路图
- 颜色传感器ARDUINO代码
- PS2手柄 - arduino版本例程
- RFID.h RC522
- 适合初学者借鉴的arduino智能小车代码
- arduino uno 控制二自由度舵机云台
- 移动onenet 基于arduino IDE 的mqtt连接
- arduino平台下CC2520 zigbee模块的驱动
- ArduinoLED矩阵代码
- Arduino 平衡小车
- LiquidCrystal_I2C驱动Arduino IDE 1.0以上版本
- arduino1602屏幕滚动显示
- PMS5003T Arduino Uno
- Arduino_PS2X库文件
- arduino与Unity串口通讯.docx
- arduino new ping
- 关于12864显示屏与arduino的连接图
- 基于arduino驱动步进电机旋转魔方的全
- GY530-VL53L0X ARDUINO激光测距代码
- MsTimer2.zip
- Arduino 亚博智能平衡小车源码
- Arduino_Uno-原理图
- flexitimer2库
- Arduino 超声波库函数
- arduino 读取温湿度dht11
评论
共有 条评论