摘要: 在上文中,按照guide, 在树莓派目标板上install bcm2835.因为bcm2835是用户空间应用,所以可以在宿主机上交叉编译,生成binary后在树莓派执行按照guide: InstallationThis library consists of a si... 阅读全文
posted @ 2018-06-23 16:08 feiwatson 阅读(497) 评论(0) 推荐(0) 编辑
摘要: bcm2835 library提供了user space 操作IO的代码。本文不涉及代码分析,先直观的按照user guide完成操作。1. 在Raspberry中安装bcm2835 library2. build LED test3. run led test从ht... 阅读全文
posted @ 2018-06-23 11:01 feiwatson 阅读(705) 评论(0) 推荐(0) 编辑