mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
urm37: Add C library for this sensor
Added a C implementation for this sensor. The C++ library was changed to just wrap the C library calls. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -53,7 +53,8 @@ int main()
|
||||
{
|
||||
cout << "Detected distance (cm): " << sensor->getDistance() << endl;
|
||||
cout << "Temperature (C): " << sensor->getTemperature() << endl;
|
||||
|
||||
cout << endl;
|
||||
|
||||
usleep(500000);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user