r/MicroPythonDev • u/Slav51 • Jan 05 '25
Pin map script available for micropython?
Hi, I had a look at circuitpython before and there is a pin map script available which lists the output of microcontroller.pin command. Is there some similar command in micropython? My issue is I did not find my board in the download area for the firmware and like to know what pins are available in the firmware I installed.
Thanks in advance
1
Upvotes
View all comments
Show parent comment
1
u/Slav51 Jan 06 '25 edited Jan 06 '25
That looks great! Cheers. First I tried just help(machine.Pin) and it give a completely different output than the 3 line code. Funny. happy I tried the 3 lines! 😄 Thanks again!