nRF52 Micropython P0.00

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
wrickert
Posts: 6
Joined: Sat Apr 13, 2019 2:23 am

nRF52 Micropython P0.00

Post by wrickert » Tue Oct 22, 2019 11:32 pm

Good afternoon,
I made a micropython conference badge using the BMD-340 module. This is an nRF52840 and I am using a slightly modified PC10056 board code. Due to time constraints, I was not able to fully test before I ordered full quantity. I am using P0.00 for a button input and it is too late to change the pin assignments.

I can

Code: Select all

button = Pin(Pin.board.P0,Pin.IN,Pin.PULL_UP)
but button.value() is always 0

Any advice to fix this?

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: nRF52 Micropython P0.00

Post by jimmo » Wed Oct 23, 2019 5:15 am

Does your board also have the 32kHz crystal on this pin?

I don't have an NRF52840 board with P0.00 exposed to test this myself, but are you able to read digital values on any other pins?

Is it possible to get a multimeter onto the trace with the button on it to confirm that it is actually changing voltage?

Post Reply