Adafruit BNO08x RVC Library
Public Member Functions | List of all members
Adafruit_BNO08x_RVC Class Reference

A class to interact with the BNO08x sensors from Hillcrest Laboritories using the UART-RVC mode. More...

#include <Adafruit_BNO08x_RVC.h>

Public Member Functions

 Adafruit_BNO08x_RVC ()
 Construct a new Adafruit_BNO08x_RVC::Adafruit_BNO08x_RVC object.
 
 ~Adafruit_BNO08x_RVC ()
 Destroy the Adafruit_BNO08x_RVC::Adafruit_BNO08x_RVC object.
 
bool begin (Stream *theStream)
 Setups the hardware. More...
 
bool read (BNO08x_RVC_Data *heading)
 Get the next available heading and acceleration data from the sensor. More...
 

Detailed Description

A class to interact with the BNO08x sensors from Hillcrest Laboritories using the UART-RVC mode.

Member Function Documentation

◆ begin()

bool Adafruit_BNO08x_RVC::begin ( Stream *  theSerial)

Setups the hardware.

Parameters
theSerialPointer to Stream (HardwareSerial/SoftwareSerial) interface
Returns
True

◆ read()

bool Adafruit_BNO08x_RVC::read ( BNO08x_RVC_Data heading)

Get the next available heading and acceleration data from the sensor.

Parameters
headingpointer to a BNO08x_RVC_Data struct to hold the measurements
Returns
true: success false: failure

The documentation for this class was generated from the following files: