Skip to content

NorthernWidget/Apis_Library

Repository files navigation

Apis_Library

DOI

Arduino library for the Apis LiDAR rangefinder board. Apis manages power supply, firmware watchdog, and I2C communication for a LiDAR Lite unit, and reads a MEMS accelerometer to report pitch and roll — useful when the sensor is not mounted level.

Installation: included in NorthernWidget-libraries. Also available via the Arduino Library Manager.

#include <Apis.h>

Apis rangefinder;

void setup() {
    Serial.begin(9600);
    rangefinder.begin();
    Serial.println(rangefinder.getHeader());
}

void loop() {
    Serial.println(rangefinder.getString());
    delay(1000);
}

See examples/ for a complete demo and Margay logger integration.

Full API reference: https://docs.northernwidget.com/Apis_Library/

About

Arduino library for the Apis board, which manages a LiDAR Lite unit (roll/pitch, firmware lock/reset, power supply)

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors