资源简介
该文件只包含SparkFun_APDS9960的.h和.c文件,供参考。
代码片段和文件信息
/**
* @file SparkFun_APDS-9960.cpp
* @brief Library for the SparkFun APDS-9960 breakout board
* @author Shawn Hymel (SparkFun Electronics)
*
* @copyright This code is public domain but you buy me a beer if you use
* this and we meet someday (Beerware license).
*
* This library interfaces the Avago APDS-9960 to Arduino over I2C. The library
* relies on the Arduino Wire (I2C) library. to use the library instantiate an
* APDS9960 object call init() and call the appropriate functions.
*
* APDS-9960 current draw tests (default parameters):
* Off: 1mA
* Waiting for gesture: 14mA
* Gesture in progress: 35mA
*/
#include
#include
#include “SparkFun_APDS9960.h“
/**
* @brief Constructor - Instantiates SparkFun_APDS996
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 56060 2015-07-22 00:45 SparkFun_APDS9960.cpp
文件 11127 2015-07-22 00:45 SparkFun_APDS9960.h
评论
共有 条评论