Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

MicroPython • Re: Show Pico W board info

$
0
0
Looks useful.
I added code to print Pico ID.

Code:

import os, machinelst = os.uname()for n in range(len(lst)):  print(n, ":", lst[n])nid = int.from_bytes(machine.unique_id(), 'big')print("id = ", hex(nid))

Statistics: Posted by Milliways — Mon Apr 14, 2025 1:59 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles