Question about pins naming #7644
Replies: 2 comments 1 reply
-
Posted at 2023-11-07 by @fanoush It is not arduino numbering even if it looks so, it is actually native hardware numbering as port1 means pins 32 and up so d0 = p0.0,d31=p0.31,d32=p1.00,.... Posted at 2023-11-07 by user156811 Perfect thank you |
Beta Was this translation helpful? Give feedback.
-
Am I right if I slighlty correct this statement and says that D32=p1.00, D33=P1.01,... ? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-06 by user156811
So in the board python files there's two kinds of pins. There the pin in with the cpu's name like PD15. Then there's the arduino style of naming D13. How do these pythons string match up.
https://github.com/espruino/Espruino/blob/master/boards/NRF52840DK.py
https://os.mbed.com/platforms/Nordic-nRF52840-DK/
So i ask this because i used the image above to the pinout.
But found that this is how it worked in the code.
P1.15 = D47 and not D13 as it looked like in the MBed pinout.
Beta Was this translation helpful? Give feedback.
All reactions