MDBT50Q-RX Pin names

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
willwade
 
Posts: 50
Joined: Sat Dec 01, 2018 3:04 pm

MDBT50Q-RX Pin names

Post by willwade »

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

User avatar
willwade
 
Posts: 50
Joined: Sat Dec 01, 2018 3:04 pm

Re: MDBT50Q-RX Pin names

Post by willwade »

Use 1 and 2 for button
e.g. #define PAIR_LED 1

https://github.com/adafruit/Adafruit_nR ... nt.cpp#L30

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: MDBT50Q-RX Pin names

Post by adafruit_support_carter »

Should be able to use PIN_LED1 in code to reference the LED pin.


For the button, use PIN_BUTTON1 .

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”