Revision 2b95af9e
Adafruit_BNO055.cpp | ||
---|---|---|
40 | 40 |
* sensor ID |
41 | 41 |
* @param address |
42 | 42 |
* i2c address |
43 |
* @param *theWire
|
|
43 |
* @param theWire |
|
44 | 44 |
* Wire object |
45 | 45 |
*/ |
46 | 46 |
Adafruit_BNO055::Adafruit_BNO055(int32_t sensorID, uint8_t address, |
... | ... | |
471 | 471 |
/*! |
472 | 472 |
* @brief Provides the sensor_t data for this sensor |
473 | 473 |
* @param sensor |
474 |
* Sensor description |
|
474 | 475 |
*/ |
475 | 476 |
void Adafruit_BNO055::getSensor(sensor_t *sensor) { |
476 | 477 |
/* Clear the sensor_t object */ |
... | ... | |
491 | 492 |
/*! |
492 | 493 |
* @brief Reads the sensor and returns the data as a sensors_event_t |
493 | 494 |
* @param event |
495 |
* Event description |
|
494 | 496 |
* @return always returns true |
495 | 497 |
*/ |
496 | 498 |
bool Adafruit_BNO055::getEvent(sensors_event_t *event) { |
... | ... | |
514 | 516 |
/*! |
515 | 517 |
* @brief Reads the sensor and returns the data as a sensors_event_t |
516 | 518 |
* @param event |
519 |
* Event description |
|
517 | 520 |
* @param vec_type |
518 | 521 |
* specify the type of reading |
519 | 522 |
* @return always returns true |
... | ... | |
592 | 595 |
/*! |
593 | 596 |
* @brief Reads the sensor's offset registers into a byte array |
594 | 597 |
* @param calibData |
598 |
* Calibration offset (buffer size should be 22) |
|
595 | 599 |
* @return true if read is successful |
596 | 600 |
*/ |
597 | 601 |
bool Adafruit_BNO055::getSensorOffsets(uint8_t *calibData) { |
... | ... | |
670 | 674 |
|
671 | 675 |
/*! |
672 | 676 |
* @brief Writes an array of calibration values to the sensor's offset |
673 |
* @param *calibData
|
|
677 |
* @param calibData |
|
674 | 678 |
* calibration data |
675 | 679 |
*/ |
676 | 680 |
void Adafruit_BNO055::setSensorOffsets(const uint8_t *calibData) { |
Also available in: Unified diff