Project

General

Profile

Revision 1549

Added by John Sexton over 14 years ago

Updated IR rangefinder lookup table. Now reports in millimeters with an accuracy of +-10mm.

View differences:

rangefinder.h
53 53
/** @brief IR Rangefinder 5 **/
54 54
#define IR5 2
55 55
/** @brief smallest meaningful rangefinder reading (logarithmic scale) **/
56
#define MIN_IR_ADC8 20
56
#define MIN_IR_ADC8 27
57 57
/** @brief largest meaningful rangefinder reading (logarithmic scale) **/
58
#define MAX_IR_ADC8 133
58
#define MAX_IR_ADC8 98
59 59

  
60 60
/** @brief Initialize the rangefinders **/
61 61
void range_init(void);

Also available in: Unified diff