更改

跳转至: 导航搜索

Orange Pi 5 Plus

添加3字节, 2023年6月12日 (一) 09:26
安装wiringOP的方法
'''进入系统后可以运行下gpio readall命令,如果能看到下面的输出,说明wiringOP已经预装并且能正常使用。'''</big>
[[File:plus5plus-5-805.png]]
<big>'''wiringOP目前主要适配了设置GPIO口输入输出,设置GPIO口输出高低电平以及设置上下拉电阻的功能,像硬件PWM这样的功能是用不了的。'''</big>
<big><p>'''注意,Orange Pi 5 Plus需要下载wiringOP next分支的代码,请别漏了-b next这个参数。'''</p>
<p>'''如果从GitHub下载代码有问题,可以去[http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-5-plus.html Orange Pi 5 Plus资料下载页面的官方工具]中下载wiringOP.tar.gz的源码压缩包。'''</p></big>
<p>[[File:plus5plus-5-806.png]]</p>
|}
</li>
</li>
<li><p>测试gpio readall命令的输出如下</p>
<p>[[File:plus5plus-5-807.png]]</p></li></ol>
<span id="pin接口gpioi2cuartspican和pwm测试-1"></span>
8,460
个编辑

导航菜单