精华内容
下载资源
问答
  • WiringPi support

    2020-12-26 08:12:30
    <div><p>Hi, i would like to use Bounce2 with WiringPi. Bounce2 is located in my include directory. Im sure id made something really stupid. <p>Id got the error: <pre><code> undefined reference to '...
  • <p>Will you continue to support <a href="https://github.com/WiringPi/WiringPi/">WiringPi/WiringPi</a> and <a href="https://github.com/WiringPi/WiringPi-Python/">WiringPi/WiringPi-Python</a>?...
  • WiringPi Deprecated

    2020-12-06 06:02:36
    <div><p>Looks like the maintainer of WiringPi got fed up with dealing with jerks and is going to stop maintaining it: http://wiringpi.com/wiringpi-deprecated/</p> <p>Is there any plan yet for dealing ...
  • WiringPi.rar

    2020-08-09 14:31:00
    WiringPi库代码资源,wiringPi是一个很棒的树莓派IO控制库,使用C语言开发,提供了丰富的接口:GPIO控制,中断,多线程,等等。java 的pi4j项目也是基于wiringPi
  • wiringPi.tar

    2020-07-05 20:55:32
    因为wiringPi官方停止了对wiringPi源码的下载支持,为了方便国内树莓派开发者,提供这个下载资源
  • WiringPi.zip

    2020-08-28 12:57:02
    树莓派缺少wiringPi的人可以下载,安装教程,请自行寻找,一般是安装软件的教程即可。 纯小白,而且没有耐心的,请绕行,因为此种安装方法,对于小白,很难,涉及诸多指令。
  • wiringpi用户手册

    2018-08-23 17:09:52
    wiringpi用户手册,版本0.0.1。英文不好的可以看看中文的。这个文档还可以。
  • alternatives for wiringPi

    2020-12-09 05:23:25
    <div><p>git.drogon.net is temporarily... Please look for alternatives for wiringPi, etc. -Gordon http://wiringpi.com/wiringpi-deprecated/</p><p>该提问来源于开源项目:Manuel83/craftbeerpi3</p></div>
  • wiringPi其实和BCM2835 library类似,也是通过memmap, IOmap来实现在用户空间直接操作底层寄存器wiringPihttp://wiringpi.com/WiringPiis aPINbased GPIO access library written in C for the BCM2835, BCM2836 and...

    wiringPi其实和BCM2835 library类似,也是通过memmap, IOmap来实现在用户空间直接操作底层寄存器

    wiringPi

    http://wiringpi.com/WiringPiis aPINbased GPIO access library written in C for the BCM2835, BCM2836 and BCM2837 SoC devices used in allRaspberry Pi.versions.

    在之前编译的系统中wiringPi已经预装了, gpio readall可以读出gpiopi@raspberrypi:~ $ gpio readall

    +-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+

    | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |

    +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+

    | | | 3.3v | | | 1 || 2 | | | 5v | | |

    | 2 | 8 | SDA.1 | ALT0 | 1 | 3 || 4 | | | 5v | | |

    | 3 | 9 | SCL.1 | ALT0 | 1 | 5 || 6 | | | 0v | | |

    | 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT5 | TxD | 15 | 14 |

    | | | 0v | | | 9 || 10 | 1 | ALT5 | RxD | 16 | 15 |

    | 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 1 | IN | GPIO. 1 | 1 | 18 |

    | 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | |

    | 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 |

    | | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 |

    | 10 | 12 | MOSI | IN | 0 | 19 || 20 | | | 0v | | |

    | 9 | 13 | MISO | IN | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 |

    | 11 | 14 | SCLK | IN | 0 | 23 || 24 | 1 | IN | CE0 | 10 | 8 |

    | | | 0v | | | 25 || 26 | 1 | IN | CE1 | 11 | 7 |

    | 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 |

    | 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | |

    | 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 |

    | 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | |

    | 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 |

    | 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 |

    | | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 |

    +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+

    | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |

    +-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+

    gpio在/usr/bin下pi@raspberrypi:~ $ whatis gpio

    gpio (1) - Command-line access to Raspberry Pi's GPIO

    pi@raspberrypi:~ $ whereis gpio

    gpio: /usr/bin/gpio /usr/share/man/man1/gpio.1

    查看lib, include, 已经安装好了pi@raspberrypi:/usr/lib $ ls |grep wiringPi

    libwiringPiDev.so

    libwiringPiDev.so.2.44

    libwiringPi.so

    libwiringPi.so.2.44pi@raspberrypi:/usr/include $ ls | grep wiringPi

    wiringPi.h

    wiringPiI2C.h

    wiringPiSPI.h

    将led.c copy到树莓派,编译,生成led, 执行,闪灯#include

    char LED = 25;

    int main(void)

    {

    if(wiringPiSetup() < 0)return 1;

    pinMode (LED,OUTPUT) ;

    while(1)

    {

    digitalWrite(LED, 1) ;

    delay (200);

    digitalWrite(LED, 0) ;

    delay (200);

    }

    }

    makefileled:led.c

    gcc -Wall led.c -o led -lwiringPi

    gcc -Wall pwm.c -o pwm -lwiringPi

    clean:

    rm led pwm

    展开全文
  • wiringPi安装

    2017-02-17 16:03:00
    wiringPi安装 更新软件,输入以下指令: sudo apt-get update sudo apt-get upgrade 通过GIT获得wiringPi的源代码 git clone git://git.drogon.net/wiringPi 若需要更新wiringPi。 cd wiringPi...

    wiringPi安装

     
    更新软件,输入以下指令:
     
    sudo apt-get update
     
    sudo apt-get upgrade
     
    通过GIT获得wiringPi的源代码
     
    git clone git://git.drogon.net/wiringPi
     
    若需要更新wiringPi。
     
    cd wiringPi
     
    git pull origin
     
    进入wiringPi目录并安装wiringPi
     
    cd wiringPi
     
    ./buil
     
    安装wiringpi就到这里了,科科
     

     

    转载于:https://www.cnblogs.com/smartkeke/p/6820447.html

    展开全文
  • wiringPi_v2.3.1.rar

    2019-10-14 19:48:32
    树莓派wiringPi压缩包 树莓派wiringPi压缩包 树莓派wiringPi压缩包 树莓派wiringPi压缩包
  • wiringPi手册V001.pdf

    2020-12-26 09:21:15
    wiringPi手册V001.pdf
  • wiringpi-latest.deb

    2019-10-31 17:02:25
    树莓派4B需要新的版本WiringPi, 安装wiringPi连接失败解决方法
  • wiringPi用户手册.pdf

    2020-07-30 23:29:54
    树莓派c语言编程,控制引脚库wiringPi。详细介绍wiringPi的各个功能,是用树莓派c语言嵌入式开发的有利工具。
  • Added WiringPi package

    2020-12-26 07:37:26
    s wiringPiOcaml into ocal-wiringpi and would like to get this package into OPAM, so Raspberry Pi users can install it with ease.</p><p>该提问来源于开源项目:ocaml/opam-repository</p></div>
  • 树莓派 wiringPi

    2020-08-20 13:52:33
    wiringPi是一个很棒的树莓派IO控制库,使用C语言开发,提供了丰富的接口:GPIO控制,中断,多线程,等等 检查树莓派是否安装 wiringPi,输入: gpio -v // 会在终端中输出相关 wiringPi 的信息,否则没有安装 使用 ...

    wiringPi是一个很棒的树莓派IO控制库,使用C语言开发,提供了丰富的接口:GPIO控制,中断,多线程,等等
    检查树莓派是否安装 wiringPi,输入:

    gpio -v   // 会在终端中输出相关 wiringPi 的信息,否则没有安装
    

    使用 gcc 编译器时要添加库:

    gcc xxx.c -lwiringPi
    

    wiringPi 库函数及其应用,请点击此处.

    展开全文
  • wiringpi除了提供C语言接口之外,目前已经支持Python等语言的扩展。对于GPIO的操作非常强大。 源码地址:https://github.com/WiringPi/WiringPi-Python 安装pip: apt-get install python-pip 安装wiringpi: ...

    RPi.GPIO目前还不支持I2C、SPI等接口,且缺乏高精度定时功能。wiringpi除了提供C语言接口之外,目前已经支持Python等语言的扩展。对于GPIO的操作非常强大。

    源码地址:https://github.com/WiringPi/WiringPi-Python

    安装pip:

    apt-get install python-pip

    安装wiringpi:

    pip install wiringpi

    查看安装结果:

    root@raspberrypi:/# pip list | grep wiring
    wiringpi (2.44.0)
    root@raspberrypi:/#

    wiringpi Python操作GPIO用法:

    import wiringpi #导入wiringpi库,老版本是导入wiringpi2,当前版本已经改为wiringpi

    wiringpi.wiringPiSetup() #设置GPIO编号为wPi方式

    wiringpi.wiringPiSetupSys() #设置GPIO编号为BCM方式

    wiringpi.wiringPiSetupGpio() #设置GPIO编号为BCM方式


    wiringpi.pinMode(6,1) #设置pin6为输出

    wiringpi.digitalWrite(6,1) #pin6电平置为高

    wiringpi.digitalRead(6) #读取pin6的电平

    使用wiringpi Python接口操作GPIO点亮led灯:

    #!/usr/bin/python
    import wiringpi
    #wiringpi.wiringPiSetupSys()
    #wiringpi.pinMode(25,1)
    #wiringpi.digitalWrite(25,1)
    
    #wiringpi.wiringPiSetup()
    #wiringpi.pinMode(6,1)
    #wiringpi.digitalWrite(6,1)
    
    wiringpi.wiringPiSetupGpio()
    wiringpi.pinMode(25,1)
    wiringpi.digitalWrite(25,1)

    展开全文
  • WiringPi简介WiringPi是应用于树莓派平台的GPIO控制库函数,WiringPi遵守GUN Lv3。wiringPi使用C或者C++开发并且可以被其他语言包转用,例如python、ruby或者PHP等。WiringPi中的函数类似于Arduino的wiring系统,这...
  • 树莓派安装wiringPi

    2020-09-08 14:52:39
    在学习微雪的2-CH CAN FD HAT时,根据官网步骤在树莓派安装wiringPi sudo apt-get install wiringpi #对于树莓派4B可能需要进行升级: wget https://project-downloads.drogon.net/wiringpi-latest.deb(此链接安装...
  • 树莓派Wiringpi

    2020-12-26 13:36:19
    wiringPi是一个很棒的树莓派IO控制库,使用C语言开发,提供了丰富的接口:GPIO控制,中断,多线程,等等。 树莓派wiringPi库详解
  • Dependency with wiringpi

    2020-11-26 23:24:41
    <p><em>deconz depends on wiringpi; however: Package wiringpi is not installed.</em></p> <p>Of course the Cubox-i is not a Rpi and there is no GPIO on this board. So the dependency cannot be satisfied...
  • WiringPi has been deprecated

    2020-12-02 05:15:00
    0 clone --bare --mirror git://git.drogon.net/wiringPi /media/yocto/jenkins/jenkins-meta/jenkins-meta/workspace/a-gateway-os_feature_auto_deploy/build/downloads/git2/git.drogon.net.wiringPi --progress ...
  • cross compile WiringPi

    2021-01-02 10:34:51
    下面开始讲如何交叉编译动态库,使用的工具有centos7虚拟机、raspberrypi-tool、wiringPi源码、cmake。 版本情况: centos7.4 1708 raspberrypi-tool 下载地址https://github.com/raspberrypi/tools wiringPi ...
  • 使用WiringPi可以驱动树莓派硬件底层,包含GPIO,usb,uart
  • 树莓派wiringPi库应用

    2020-12-27 16:19:27
    验证wiringPi的是否安装成功,输入gpio -v,会在终端中输出相关wiringPi的信息。否则安装失败。 编译 和运行 gcc LEDtest.c -lwiringPi //-lwiringPi 指定在wiringPi库下运行 //使用C语言编程 查看引...
  • 树莓派 - wiringPi

    2018-06-24 12:04:05
    wiringPi其实和BCM2835 library类似,也是通过memmap, IOmap来实现在用户空间直接操作底层寄存器wiringPihttp://wiringpi.com/WiringPi is a PIN based GPIO access library written in C for the BCM2835, BCM...
  • wiringPi-for-C+RPi.GPIO.tar.gz+WiringPi-Python-master.zip。树莓派GPIO资源开发所用到的库。

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 1,180
精华内容 472
关键字:

wiringpi