Arduino_SharpIR icon indicating copy to clipboard operation
Arduino_SharpIR copied to clipboard

Arduino library that allows to acquire distance data from Sharp IR sensors

Results 2 Arduino_SharpIR issues
Sort by recently updated
recently updated
newest added

In the current code with the switch function, a default is missing, which causes the following issue ```c++ ..Arduino\libraries\SharpIR\src\SharpIR.cpp: In member function 'uint8_t SharpIR::getDistance(bool)': ..Arduino\libraries\SharpIR\src\SharpIR.cpp:41:2: error: control reaches end of...

**SOLVED** This caught me out. The datasheet for this SharpIR sensor shows a non-linear mapping between the output voltage and distance, but this package uses an average linear mapping calculation....