Now when I change pins in MyBoardNRF.h and compile with MyBoardNRF5 NRF52832 board, RC Oscillator and without SoftDevice, I manage to read my accelerator connected on SCL and SDA. But When I select from Tools > Softdevice 132 I get this error:
In file included from C:\Users\Calc\AppData\Local\Arduino15\packages\sandeepmistry\hardware\nRF5\0.5.1\cores\nRF5/delay.h:30:0,
from C:\Users\Calc\AppData\Local\Arduino15\packages\sandeepmistry\hardware\nRF5\0.5.1\cores\nRF5/Arduino.h:53,
from sketch\Blinky_accel.ino.cpp:1:
C:\Users\Calc\AppData\Local\Arduino15\packages\MySensors\hardware\nRF5\0.3.0\variants\MyBoardNRF5/variant.h:119:32: fatal error: sketch/MyBoardNRF5.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board MyBoardNRF5 nRF52832.
I use a NRF52832 module with P0.01 as SDA and P0.05 as SCL. After I've installed https://github.com/mysensors/ArduinoBoards I got an error: The current selected board needs the core 'sandeepmistry:nRF5' that is not installed. (even if it was installed!). I've solved this by adding in the Arduino's Preferences Board Manager URL space both URL packages: https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json https://raw.githubusercontent.com/mysensors/ArduinoBoards/master/package_mysensors.org_index.json And it works.
Now when I change pins in MyBoardNRF.h and compile with MyBoardNRF5 NRF52832 board, RC Oscillator and without SoftDevice, I manage to read my accelerator connected on SCL and SDA. But When I select from Tools > Softdevice 132 I get this error:
Any ideas why?