You are reading a single comment by @tyronehell and its replies.
Click here to read the full conversation.
-
On,no! It seems like the BTN1 Pin is D9, Right or no?I found it from the PCB image
DCONFIG_NFCT_PINS_AS_GPIOS
Adding
'DEFINES+=-DCONFIG_NFCT_PINS_AS_GPIOS',
now...
But,had the same problem, stucked on LED1 (red led) ...Do you mass erase the flash memory before flashing the hex?
Yes, with
nrf5 mass_erase
for LEDs you would want to do pwm to dim them anyway?
Sorry I don't know, i am a freshman :-)
1 Attachment
Do you mass erase the flash memory before flashing the hex? otherwise you may still have old bootloader there if you disabled it only with later builds
D9 is NFC pin, for that you need -DCONFIG_NFCT_PINS_AS_GPIOS so the button would work correctly, otherwise it may be stuck in one state when reading.
as for
that makes no sense, nrf5x can do analog only on first (D2-D5) and last (D28-D31) four pins,
for LEDs you would want to do pwm to dim them anyway?