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.
|
|
|
|
|
#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
|
| |
|