Question: 1 . Rewrite the def get _ pi _ info ( ) : function from Lab # 4 by adding the command: pinout and running
Rewrite the def getpiinfo :
function from Lab # by adding the command: "pinout" and running it via
the subprocess module as required for the other portions of the function.
This function should now display the following information output will vary
according to Raspberry Pi version:
Description : Raspberry Pi B rev
Revision : d
SoC : BCM
RAM : GB
Storage : MicroSD
USB ports : of which USB
Ethernet ports : Mbps max. speed
Wifi : True
Bluetooth : True
Camera ports CSI :
Display ports DSI:
oooooooooooooooooooo J :
ooooooooooooooooooo : USB
Wi Pi Model B V fan
Fi
RAMRP
p USB
c
i SoC cc J
Jss
J bat uart ii oo Net
pwrhdhdo
omm
J:
VV
GPIOV
GPIO GND
GPIO GPIO
GND GPIO
GPIO GPIO
GPIO GND
GPIO GPIO
V GPIO
GPIO GND
GPIO GPIO
GPIO GPIO
GND GPIO
GPIO GPIO
GPIO GND
GPIO GPIO
GPIO GND
GPIO GPIO
GPIO GPIO
GND GPIO
J:
RUN
GND
J:
COMPOSITE
GND
J:
TR TAP TR TAP
TR TAP TR TAP
ip:xxxxxxxxxxxxx
MAC address:xx:yy:zz:aa:bb:cc
Revision:XnnnXn
Serial:nXXnnnnn
Model:'Raspberry Pi B rev
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
