Closed Donato-M closed 4 months ago
Upon poking around in the library files I've found the issue to be in the sh2_getProdIds method, located in the sh2.c file. I'll be honest and say I have no idea what this method is doing and can't even figure out where to begin trying to understand why I'm encountering an error
Subject of the issue
Running the example 1 code does not work. Upon testing I have found the issue to be in the begin() method. It runs up until it reaches the final return point where it is supposed to return _init().
Your workbench
Steps to reproduce
Tell us how to reproduce this issue. Please post stripped down example code demonstrating your issue. I attempted to get the BNO working using example 1. I changed the pin numbers and the I2C address to match the connections on the PCB the BNO is on.
define BNO08X_INT 27
define BNO08X_RST 12
define BNO08X_ADDR 0x4A // Alternate address if ADR jumper is closed
Expected behavior
The Rotation vector example should execute
Actual behavior
The program halts at the return _init() line of begin().