lightranger 2.0.0.0
LightRanger Commands

Macros

#define LIGHTRANGER_CMD_RESET   0x1E
 
#define LIGHTRANGER_CMD_ADC_READ   0x00
 
#define LIGHTRANGER_CMD_ADC_CONV   0x40
 
#define LIGHTRANGER_CMD_ADC_D1   0x00
 
#define LIGHTRANGER_CMD_ADC_D2   0x10
 
#define LIGHTRANGER_CMD_ADC_256   0x00
 
#define LIGHTRANGER_CMD_ADC_512   0x02
 
#define LIGHTRANGER_CMD_ADC_1024   0x04
 
#define LIGHTRANGER_CMD_ADC_2048   0x06
 
#define LIGHTRANGER_CMD_ADC_4096   0x08
 
#define LIGHTRANGER_CMD_PROM_RD   0xA0
 
#define LIGHTRANGER_CMD_CALC_DIST   0x32
 
#define LIGHTRANGER_CMD_INTERRUPT_CLEAR   0x07
 
#define LIGHTRANGER_CMD_GAIN_1X   0x06
 

Detailed Description

Macro Definition Documentation

◆ LIGHTRANGER_CMD_ADC_1024

#define LIGHTRANGER_CMD_ADC_1024   0x04

◆ LIGHTRANGER_CMD_ADC_2048

#define LIGHTRANGER_CMD_ADC_2048   0x06

◆ LIGHTRANGER_CMD_ADC_256

#define LIGHTRANGER_CMD_ADC_256   0x00

◆ LIGHTRANGER_CMD_ADC_4096

#define LIGHTRANGER_CMD_ADC_4096   0x08

◆ LIGHTRANGER_CMD_ADC_512

#define LIGHTRANGER_CMD_ADC_512   0x02

◆ LIGHTRANGER_CMD_ADC_CONV

#define LIGHTRANGER_CMD_ADC_CONV   0x40

◆ LIGHTRANGER_CMD_ADC_D1

#define LIGHTRANGER_CMD_ADC_D1   0x00

◆ LIGHTRANGER_CMD_ADC_D2

#define LIGHTRANGER_CMD_ADC_D2   0x10

◆ LIGHTRANGER_CMD_ADC_READ

#define LIGHTRANGER_CMD_ADC_READ   0x00

◆ LIGHTRANGER_CMD_CALC_DIST

#define LIGHTRANGER_CMD_CALC_DIST   0x32

◆ LIGHTRANGER_CMD_GAIN_1X

#define LIGHTRANGER_CMD_GAIN_1X   0x06

◆ LIGHTRANGER_CMD_INTERRUPT_CLEAR

#define LIGHTRANGER_CMD_INTERRUPT_CLEAR   0x07

◆ LIGHTRANGER_CMD_PROM_RD

#define LIGHTRANGER_CMD_PROM_RD   0xA0

◆ LIGHTRANGER_CMD_RESET

#define LIGHTRANGER_CMD_RESET   0x1E