Recently I purchased a BLE Nano 2 for a school project and have to code it using the Arduino IDE. I am completely new to this so I am pretty lost – as there seems to be no library to refer to and there are only example sketches.
Is there a way/guide to learn how to programme the BLE Nano 2?
I have tried to pair my BLE Nano 2 with the RedBear App on my android phone after uploading sketches like Simple Controls and BLE Controller but when I scan for devices, it does not seem to be able to discover the microcontroller.
I am getting errors like ‘IS_PIN_DIGITAL’ was not declared in this scope.
How do I solve this?
My phone app is able to pair with the BLE Nano 2 only when I use SimpleChat. I really hope to be able to have anyone helping as I am currently stuck with my project because of this.
Thank you so much in advance for your help.