![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树莓派
mayloveever
这个作者很懒,什么都没留下…
展开
-
树莓派wiringpi Unable to open /dev/mem or /dev/gpiomem: Permission denied.
最近在树莓派上装了ubuntu 想用wiringpi 结果提示wiringPiSetup: Unable to open /dev/mem or /dev/gpiomem: Permission denied.网上查了下,是用户组的问题。解决方案:sudo apt install rpi.gpio-commonsudo adduser "${USER}" dialoutsudo reboot参考:https://askubuntu.com/questions/1230947/gpio-f原创 2021-07-11 21:54:52 · 2029 阅读 · 0 评论 -
树莓派Ubuntu20.04系统安装vcgencmd
树莓派Ubuntu20.04系统安装vcgencmd树莓派使用Ubuntu官方的Ubuntu server 20会导致vcgencmd command not found,按照下面的步骤走即可解决首先用su命令进入root用户模式下,接着执行cd /tmpgit clone https://github.com/raspberrypi/userland.git cd userland如果你使用的是32位OS,输入./buildme如果是64位OS,则输入./buildme --aarc原创 2021-07-04 18:25:16 · 2114 阅读 · 3 评论