Hi
I'm working with the following products to develop a product and have chosen to use a IDE based around Arduino and Visual Studio Code. This iDE along side off the shelf products allows for rapid simple programme and hardware construction for testing and evaluation without the for deep C knowledge prior to moving to a formal product development cycle. Therefore some of the products being used rely on the Adafruit versions of the Arduino libraries to function.
Products:
SparkFun Pro nRF52840 Mini - Bluetooth Development Board - https://www.sparkfun.com/products/15025?_ga=2.135426737.141134967.1579786966-1791920524.1576505606
SparkFun IMU Breakout - MPU-9250 - https://www.sparkfun.com/products/13762?_ga=2.218676889.141134967.1579786966-1791920524.1576505606
SparkFun Micro OLED Breakout - https://www.sparkfun.com/products/14532
I'm using I2C for the communications bus between the nrf52 and the two peripherals (MPU-9259 & Micro OLED). I have successfully connected both devices and driven output to the display and received a response from the IMU, using the following code:
The following output is produced with the phrase 'StingRay' displayed on the OLED:
My problem starts when I begin the implementation BLE. I add the following code:
At this point I have not implemented any more BLE functionality as my device crashes as soon as I reach Bluefruit.begin().
Any help/guidance please.
Thanks in advance ...