Brak opisu

Lesords 11a94b0e6e chore: update library version 1 rok temu
.github 5cf7f11ce0 ci: add an action to automatically close stale issues and PRs 1 rok temu
examples d2c36564bd Pretty printed the Arduino code with astyle 6 lat temu
.gitattributes 6e5a9f6440 Library file for testing the lux 12 lat temu
.gitignore 6e5a9f6440 Library file for testing the lux 12 lat temu
.gitlab-ci.yml 457fcf7454 Seeed:Arduino: fix travis.yml write error 5 lat temu
.travis.yml 457fcf7454 Seeed:Arduino: fix travis.yml write error 5 lat temu
Digital_Light_ISL29035.cpp 42fbcc3127 Fix writing past the end of the _intg_time buffer 3 lat temu
Digital_Light_ISL29035.h d2c36564bd Pretty printed the Arduino code with astyle 6 lat temu
Digital_Light_TSL2561.cpp 268880bdc2 Add an optional read timout to the TSL2561_CalculateLux class 3 lat temu
Digital_Light_TSL2561.h 7b50b85f4a Switch value of TSL2561_NO_READ_TIMEOUT from max(uint32_t) to 0 3 lat temu
License.txt cf366efc72 add license and update readme 12 lat temu
README.md 906b0711ce Seeed:Arduino: Add travis build status 6 lat temu
keywords.txt 29e9a32a10 Add two APIs and a example. 6 lat temu
library.properties 11a94b0e6e chore: update library version 1 rok temu

README.md

Grove - Digital Light Sensor Build Status

Version 1

This module is based on the I2C light-to-digital converter TSL2561 to transform light intensity to a digital signal. Different from traditional analog light sensor, as Grove - Light Sensor, this digital module features a selectable light spectrum range due to its dual light sensitive diodes: infrared and full spectrum.

You can switch between three detection modes to take your readings. They are infrared mode, full spectrum and human visible mode. When running under the human visible mode, this sensor will give you readings just close to your eye feelings.

Version 2 (Fixme when we have a bazaar image)

The version 2 hasn't been on the shelf now.

Usage:

This is an Arduino Library of Grove - Digital Light Sensor (two versions).

Include the corresponding header file

Version 1:

#include <Digital_Light_TSL2561.h>

Version 2:

#include <Digital_Light_ISL29035.h>

Initialization:

//for v1
TSL2561.init();
//for v2
ISL29035.init();

Get the Lux reading of visible light

unsigned long readVisibleLux();


For more information, please refer to wiki page.


This software is written by zhangkun for seeed studio and is licensed under The MIT License. Check License.txt for more information.

Contributing to this software is warmly welcomed. You can do this basically by
forking, committing modifications and then pulling requests (follow the links above
for operating guide). Adding change log and your contact into file header is encouraged.
Thanks for your contribution.

Seeed is a hardware innovation platform for makers to grow inspirations into differentiating products. By working closely with technology providers of all scale, Seeed provides accessible technologies with quality, speed and supply chain knowledge. When prototypes are ready to iterate, Seeed helps productize 1 to 1,000 pcs using in-house engineering, supply chain management and agile manufacture forces. Seeed also team up with incubators, Chinese tech ecosystem, investors and distribution channels to portal Maker startups beyond.

Analytics