1、打开主菜单
在主菜单中找到并打开Raspberry Pi Configuration。
2、单击Interfaces
在新窗口单击Interfaces。
3、勾选Enable
找到Serial Port选项,勾选Enable。