覆盆子pi 2和gpio4眨眼 [英] Raspberry pi 2 and blinky with gpio4

查看:75
本文介绍了覆盆子pi 2和gpio4眨眼的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只需将闪烁示例中LED的默认值从5更改为4(GPIO4),就会在运行时给出异常。

Simply changing the default value for the LED in blinky example from 5 to 4 (GPIO4) give me an exception when running.

GPIO4列出尽可能使用,所以我有点迷失,为什么我不能让它工作。

GPIO4 is listed as possible to use, so I am a bit lost why I cannot get it to work.

推荐答案

请提供更多信息。你看到什么例外?
Please provide more information. What exception are you seeing?


这篇关于覆盆子pi 2和gpio4眨眼的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆