mirror of
https://gitee.com/open-loongarch/buildroot.git
synced 2026-10-26 05:17:12 +08:00
6 lines
105 B
Python
6 lines
105 B
Python
from gpiozero import pi_info
|
|
|
|
piBoardInfo = pi_info('a020d3') # 3B+
|
|
|
|
assert(piBoardInfo.model == '3B+')
|