MDBT50Q-RX Pin names
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- willwade
- Posts: 50
- Joined: Sat Dec 01, 2018 3:04 pm
MDBT50Q-RX Pin names
This - the page says the LED is on P1.13. Maybe its my rubbish knowledge - but if I assign that Pin in a arduino sketch I'm getting an error. How do you refer to the correct Pin for that LED? https://www.adafruit.com/product/5199
- willwade
- Posts: 50
- Joined: Sat Dec 01, 2018 3:04 pm
Re: MDBT50Q-RX Pin names
Use 1 and 2 for button
e.g. #define PAIR_LED 1
https://github.com/adafruit/Adafruit_nR ... nt.cpp#L30
e.g. #define PAIR_LED 1
https://github.com/adafruit/Adafruit_nR ... nt.cpp#L30
- adafruit_support_carter
- Posts: 29457
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MDBT50Q-RX Pin names
Should be able to use PIN_LED1 in code to reference the LED pin.
For the button, use PIN_BUTTON1 .
For the button, use PIN_BUTTON1 .
Please be positive and constructive with your questions and comments.