Skip to content

Commit 24ae292

Browse files
author
Elias Santistevan
committed
Updates readme, library.properties, and keywords
1 parent 362d6f1 commit 24ae292

File tree

4 files changed

+39
-23
lines changed

4 files changed

+39
-23
lines changed

Examples/Example3_Power_Save_Mode/Example3_Power_Save_Mode.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ float gain = .125;
3838

3939
// Possible integration times in milliseconds: 800, 400, 200, 100, 50, 25
4040
// Higher times give higher resolutions and should be used in darker light.
41-
int time = 100;
41+
int time = 400;
4242
long luxVal = 0;
4343

4444
// Power save mode, options range from 1-4.
@@ -106,6 +106,6 @@ void loop(){
106106
Serial.print(luxVal);
107107
Serial.println(" Lux");
108108
// Sampling at the rate specified in the hookup guide power save mode table.
109-
delay(1100);
109+
delay(2400);
110110

111111
}

README.MD

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
SparkFun Qwiic RFID Reader Arduino Library
1+
SparkFun Ambient Light Sensor - VEML6030 (Qwiic)
22
========================================
3-
[![SparkFun Qwiic RFID Reader](https://cdn.sparkfun.com/assets/parts/1/3/6/1/0/15191-SparkFun_RFID_Qwiic_Reader-01a.jpg)
4-
*SparkFun Qwiic RFID Reader (SEN-15191)*](https://www.sparkfun.com/products/15191)
3+
[![SparkFun Ambient Light Senstor](https://cdn.sparkfun.com/assets/parts/1/3/9/9/6/15436-SparkFun_Ambient_Light_Sensor_-_VEML6030__Qwiic_-01.jpg)]
54

6-
The SparkFun Qwiic RFID Reader is a simple I-squared-C based RFID Reader.
7-
It can hold up to 20 unique RFID tag IDs and their scan times, while also
8-
providing an interrupt pin for easy on the fly tag ID retrieval. The SparkFun
9-
Qwiic RFID Reader Arduino Library gives easy to use functions to get scanned
10-
RFID tag IDs, their scan times, or getting all 20 IDs at once and their scan
11-
times. Better yet, each function is demoed in the provided example code!
5+
The SparkFun Ambient Light Sensor - VEML6030 (Qwiic) is an I&2;C enabled
6+
ambient light sensor with high sensitivity and high accuracy. It reads ambient
7+
light in Lux and boasts a number of nice features including: the ability to set
8+
high and low thresholds for the optional interrupt, power saving features that enable
9+
single digit micro-amp current draw, and a readable range from zero to 120,000 Lux. The
10+
library gives full access to all features and includes example code
11+
demonstrating all its' abilities.
1212

1313
Repository Contents
1414
-------------------
@@ -25,7 +25,7 @@ Documentation
2525

2626
Products that use this library
2727
--------------
28-
* [SEN-15191](https://www.sparkfun.com/products/15191) - SparkFun Qwiic RFID Reader
28+
* [SEN-15436](https://www.sparkfun.com/products/15436) - SparkFun Ambient LIght Sensor - VEML6030 (Qwiic)
2929

3030
License Information
3131
-------------------

keywords.txt

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,39 @@
11
########################################################
2-
# Syntax Coloring Map for SparkFun #
2+
# Syntax Coloring Map for SparkFun Qwiic Ambient light Sensor
33
########################################################
44
# Class
55
###################################################################
66

7-
Qwiic_ KEYWORD1
7+
SparkFun_Ambient_Light KEYWORD1
88

99
###################################################################
1010
# Methods and Functions
1111
###################################################################
1212

1313
begin KEYWORD2
14-
KEYWORD2
15-
KEYWORD2
16-
KEYWORD2
17-
KEYWORD2
18-
KEYWORD2
19-
KEYWORD2
20-
KEYWORD2
14+
setGain KEYWORD2
15+
readGain KEYWORD2
16+
setIntegTime KEYWORD2
17+
readIntegTime KEYWORD2
18+
setProtect KEYWORD2
19+
readProtect KEYWORD2
20+
enableInt KEYWORD2
21+
disableInt KEYWORD2
22+
readIntSetting KEYWORD2
23+
shutDown KEYWORD2
24+
powerOn KEYWORD2
25+
enablePowSave KEYWORD2
26+
diablePowSave KEYWORD2
27+
readPowSavEnabled KEYWORD2
28+
setPowSavMode KEYWORD2
29+
readPowSavMode KEYWORD2
30+
readInterrupt KEYWORD2
31+
setIntLowThresh KEYWORD2
32+
readLowThresh KEYWORD2
33+
setIntHighThresh KEYWORD2
34+
readHighThresh KEYWORD2
35+
readLight KEYWORD2
36+
readWhiteLight KEYWORD2
2137

2238
###################################################################
2339
# Constants

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ version=1.0.0
33
author=Elias Santistevan
44
maintainer=SparkFun Electronics <sparkfun.com>
55
sentence=Library for the SparkFun Ambient Light Sensor-VEML6030
6-
paragraph=
6+
paragraph=The [SparkFun Ambient Light Sensor](https://www.sparkfun.com/products/15436) VEML6030 (Qwiic) is a high sensitivity and high accuracy I2C enabled ambient light sensor. The sensor is able to read light from zero to 120,000 Lux. The Ambient Light Sensor library gives access to the full features of the ambient light sensor including: reading light in lux, setting low and high interrupt thresholds, and power save modes. It also provides example code that demonstrates their use!
77
category=Sensors
8-
url=
8+
url=https://github.com/sparkfun/SparkFun_Ambient_Light_Sensor_Arduino_Library
99
architectures=*
1010

0 commit comments

Comments
 (0)