Contiki-NG
Loading...
Searching...
No Matches

Header file for the external TSL256X Sensor Driver. More...

#include <stdio.h>
#include "lib/sensors.h"
#include "dev/zoul-sensors.h"
#include "i2c.h"

Go to the source code of this file.

Macros

TSL256x digital Light sensor specific model information
TSL256X digital Light registers
TSL256X convertion and calibration values
#define LUX_SCALE   14
 scale by 2^14
 
#define RATIO_SCALE   9
 scale ratio
 
#define CH_SCALE   10
 scale channel values by 2^10
 
#define CHSCALE_TINT0   0x7517
 322/11 * 2^CH_SCALE
 
#define CHSCALE_TINT1   0x0fe7
 322/81 * 2^CH_SCALE
 
TSL256X return and command values

Detailed Description

Header file for the external TSL256X Sensor Driver.

Author
Antonio Lignan alina.nosp@m.n@zo.nosp@m.lerti.nosp@m.a.co.nosp@m.m Toni Lozano tloza.nosp@m.no@z.nosp@m.olert.nosp@m.ia.c.nosp@m.om

Definition in file tsl256x.h.