Need help with bluetooth interrupt signal

lolsnub · 2 · 10999

lolsnub

  • Newbie
  • *
    • Posts: 1
    • View Profile
Hi, I am still new with tiny durino so still dont understand how to change the interrupt signal from R2 to R3.

I had used this guide https://learn.tinycircuits.com/Communication/Bluetooth-Low-Energy_TinyShield_Tutorial/ and shown:

NOTE:
The interrupt signal can be changed from pin 2 to pin 3 by removing resistor R2 and soldering it to position R3.

I had done the soldering to R3 but how to change the default from R2 to R3 base on the guide?



lennevia

  • Administrator
  • Hero Member
  • *****
    • Posts: 437
    • View Profile
Hello, I believe you emailed in to our tech support, but I'll copy the answer here for anyone in the future with the same question.

For the software change, you will need to edit the STBLE library and change the pin number in the code to match pin 3 instead of pin 2. In the STBLE library that is downloaded with the example, navigate to STBLE/src/Arduino_hal.h – in this file, you will change BNRG_SPI_EXTI_PIN's value to 3 instead of 2.

Attached to this message is a screenshot of the highlighted variable - you will need to be logged in to the forum to see the attachment.

Cheers,
Réna


 

SMF spam blocked by CleanTalk