This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

VERIFY BUTTON CONNECTION

mains.c

Hello Everyone,

I have deveLoped the Custom PCB whixh has the push button which is connected to VCC so i would like verify my software logic for button configuration this is the button configuration for the NRF51DK where button in the NRF51DK is connected pin 17 and GND static app_button_cfg_t p_button[] = { {BP, APP_BUTTON_ACTIVE_LOW,NRF_GPIO_PIN_PULLUP , button_handler}};

CUSTOM PCB button configuration: static app_button_cfg_t p_button[] = { {BP, APP_BUTTON_ACTIVE_HIGH,NRF_GPIO_PIN_PULLDOWN , button_handler}}; in custom PCB button is connected to VCC nad other pin connected to Resistor 10k and followed by PIN 6 of the NRF51chip so anyone could please verify my button configuration because my button is functioning as expected

any help would be greatly appreciated

Thank you prabhu

Thank you prabhu

Related