当前位置:网站首页>Compiled on unbutu with wiringPi library and run on Raspberry Pi
Compiled on unbutu with wiringPi library and run on Raspberry Pi
2022-08-01 01:34:00 【Ten Moo One Sword】
demo1.c to unbutu
WringPi's package is sent to unbutu
First pass the WringPi package to unbutu1 First unzip WringPi in the window.rar and finally become WringPi (folder)
ls -lvi INSTALL holds development information
Running ./build will generate a soft linkExists under /usr/local/lib
Run ./build to view /usr/local/lib
It does have it but it doesn't workverify
still reports an error
Use libwiringPi.so from Raspberry Pi
Pass to unbutu
Generate soft link ln source file object file1 delete the source file first2 is generating a soft connection (a soft connection is like a shortcut and does not occupy memory)
Compile demo1.c
Format
arm-linux-gnueabihf-gcc demo1.c -I /home/yangchangyuan/LessonPi/WiringPi/wiringPi -L. -lwiringPiCompiler file link file path for arm platform -L. Find -l executable code (that is, soft link)
Generates a.out executable
Raspberry Pi running
边栏推荐
- WebApi 打个Attribute 统一处理异常
- MYSQL关键字Explain解析
- SC7A20(士兰微-加速度传感器)示例
- Design the message queue storage MySQL form of message data
- 声称AI存在意识,谷歌工程师遭解雇:违反保密协议
- Exam preparation plan
- IDEA无法识别module(module右下角没有蓝色小方块)
- Google Earth Engine - Error resolution of Error: Image.clipToBoundsAndScale, argument 'input': Invalid type
- device node结构体转换成platform_device结构体
- 解决安装MySQL后,Excel打开很慢的问题
猜你喜欢
IDEA debugging
MYSQL主从复制
Google "Cloud Developer Quick Checklist"; Tsinghua 3D Human Body Dataset; SenseTime "Universal Vision Framework" open class; Web3 Minimalist Getting Started Guide; Free Books for Efficient Deep Learni
SC7A20(士兰微-加速度传感器)示例
leetcode:1562. 查找大小为 M 的最新分组【模拟 + 端点记录 + 范围合并】
Summary of MVCC
ECCV2022 Workshop | 复杂环境中的多目标跟踪和分割
MYSQL two-phase commit
ROS2系列知识(4): 理解【服务】的概念
【 】 today in history: on July 31, "brains in vats" the birth of the participant;The father of wi-fi was born;USB 3.1 standard
随机推荐
SC7A20(士兰微-加速度传感器)示例
Detailed explanation of TCP protocol
Handwritten binary search tree and test
YOLO怎么入门?怎么实现自己的训练集?
ECCV2022 Workshop | 复杂环境中的多目标跟踪和分割
从设备树(dtb格式数据)中解析出bootargs
两院院士直言:不要迷信院士
现代企业架构框架1
how to edit the table of contents of an epub ebook
The device node structure is converted into a platform_device structure
MYSQL master-slave replication
[Data analysis] Based on matlab GUI student achievement management system [including Matlab source code 1981]
【 】 today in history: on July 31, "brains in vats" the birth of the participant;The father of wi-fi was born;USB 3.1 standard
JVM面试题总结(持续更新中)
Chain programming, packages, access
机器学习初学者可以学哪些实战项目?
500 miles
What is the meaning of JS timestamp?Know SQL will consider to add a timestamp, JS timestamp for the scene?
The kernel of the decompression process steps
VPGNet