Przeglądaj źródła

Prep for deb release as 2.70

This is a general tidyup to detach this fork better from Gordon, who was (and perhaps still is) completely inundated with WiringPi-related support questions.

This changeset includes a number of tweaks which should reduce support burden on Gordon. I believe they are essential if we plan to release a new debian package.

They should - hopefully - not reduce or make ambiguous the origins of this code while achieving the above.

* Remove Gordon's email address from all source files to avoid support queries finding their way to him
* Update wiringPi URLs to the GitHub repository to try and keep bugs/issues within the fork
* Bump version to 2.70 ready for a debian package release
* Update debian package maintainer info, add bugs & homepage URLs to this repository
pull/154/head
Philip Howard 2 lat temu
committed by Phil Howard
rodzic
commit
a83d64ea6c
100 zmienionych plików z 158 dodań i 169 usunięć
  1. +1
    -1
      VERSION
  2. +0
    -16
      build
  3. +5
    -2
      debian-template/wiringPi/DEBIAN/control
  4. +1
    -1
      debian/control
  5. +1
    -1
      devLib/Makefile
  6. +1
    -1
      devLib/ds1302.c
  7. +1
    -1
      devLib/ds1302.h
  8. +1
    -1
      devLib/gertboard.c
  9. +1
    -1
      devLib/gertboard.h
  10. +1
    -1
      devLib/lcd.c
  11. +1
    -1
      devLib/lcd.h
  12. +1
    -1
      devLib/lcd128x64.c
  13. +1
    -1
      devLib/lcd128x64.h
  14. +1
    -1
      devLib/maxdetect.c
  15. +1
    -1
      devLib/maxdetect.h
  16. +1
    -1
      devLib/piFace.c
  17. +1
    -1
      devLib/piFace.h
  18. +1
    -1
      devLib/piFaceOld.c
  19. +1
    -1
      devLib/piGlow.c
  20. +1
    -1
      devLib/piGlow.h
  21. +1
    -1
      devLib/piNes.c
  22. +1
    -1
      devLib/piNes.h
  23. +1
    -1
      devLib/scrollPhat.c
  24. +1
    -1
      devLib/scrollPhat.h
  25. +1
    -1
      devLib/scrollPhatFont.h
  26. +3
    -3
      examples/Gertboard/buttons.c
  27. +3
    -3
      examples/Gertboard/gertboard.c
  28. +2
    -2
      examples/Gertboard/temperature.c
  29. +2
    -2
      examples/Gertboard/voltmeter.c
  30. +1
    -1
      examples/Makefile
  31. +1
    -1
      examples/PiFace/Makefile
  32. +2
    -2
      examples/PiFace/blink.c
  33. +2
    -2
      examples/PiFace/buttons.c
  34. +2
    -2
      examples/PiFace/metro.c
  35. +2
    -2
      examples/PiFace/motor.c
  36. +2
    -2
      examples/PiFace/reaction.c
  37. +1
    -1
      examples/PiGlow/Makefile
  38. +1
    -1
      examples/PiGlow/piGlow0.c
  39. +1
    -1
      examples/PiGlow/piGlow1.c
  40. +1
    -1
      examples/PiGlow/piglow.c
  41. +2
    -2
      examples/blink-thread.c
  42. +2
    -2
      examples/blink.c
  43. +2
    -2
      examples/blink.rtb
  44. +2
    -2
      examples/blink.sh
  45. +2
    -2
      examples/blink12.c
  46. +3
    -3
      examples/blink12drcs.c
  47. +2
    -2
      examples/blink6drcs.c
  48. +2
    -2
      examples/blink8-drcn.c
  49. +2
    -2
      examples/blink8.c
  50. +1
    -1
      examples/clock.c
  51. +2
    -2
      examples/delayTest.c
  52. +1
    -1
      examples/ds1302.c
  53. +2
    -2
      examples/header.h
  54. +3
    -3
      examples/isr-osc.c
  55. +1
    -1
      examples/isr.c
  56. +3
    -3
      examples/lcd-adafruit.c
  57. +4
    -4
      examples/lcd.c
  58. +1
    -1
      examples/lowPower.c
  59. +1
    -1
      examples/max31855.c
  60. +2
    -2
      examples/nes.c
  61. +2
    -2
      examples/okLed.c
  62. +2
    -2
      examples/pwm.c
  63. +1
    -1
      examples/q2w/Makefile
  64. +2
    -2
      examples/q2w/binary.c
  65. +2
    -2
      examples/q2w/blink-io.c
  66. +2
    -2
      examples/q2w/blink.c
  67. +2
    -2
      examples/q2w/blink.sh
  68. +2
    -2
      examples/q2w/bright.c
  69. +2
    -2
      examples/q2w/button.c
  70. +2
    -2
      examples/q2w/volts.c
  71. +2
    -2
      examples/rht03.c
  72. +1
    -1
      examples/scrollPhat/Makefile
  73. +3
    -3
      examples/scrollPhat/scphat.c
  74. +3
    -3
      examples/scrollPhat/test.c
  75. +2
    -2
      examples/serialRead.c
  76. +2
    -2
      examples/serialTest.c
  77. +2
    -2
      examples/servo.c
  78. +2
    -2
      examples/softPwm.c
  79. +2
    -2
      examples/softTone.c
  80. +2
    -2
      examples/speed.c
  81. +1
    -1
      examples/spiSpeed.c
  82. +1
    -1
      examples/wfi.c
  83. +1
    -1
      gpio/Makefile
  84. +1
    -2
      gpio/gpio.1
  85. +1
    -1
      gpio/gpio.c
  86. +1
    -1
      gpio/readall.c
  87. +4
    -1
      newVersion
  88. +1
    -1
      pins/pins.tex
  89. +2
    -2
      version.h
  90. +1
    -1
      wiringPi/Makefile
  91. +1
    -1
      wiringPi/ads1115.c
  92. +1
    -1
      wiringPi/ads1115.h
  93. +1
    -1
      wiringPi/bmp180.c
  94. +1
    -1
      wiringPi/bmp180.h
  95. +1
    -1
      wiringPi/drcNet.c
  96. +1
    -1
      wiringPi/drcNet.h
  97. +1
    -1
      wiringPi/drcSerial.c
  98. +1
    -1
      wiringPi/drcSerial.h
  99. +1
    -1
      wiringPi/ds18b20.c
  100. +1
    -1
      wiringPi/ds18b20.h

+ 1
- 1
VERSION Wyświetl plik

@@ -1 +1 @@
2.61
2.70

+ 0
- 16
build Wyświetl plik

@@ -110,22 +110,6 @@ fi

hardware=`fgrep Hardware /proc/cpuinfo | head -1 | awk '{ print $3 }'`

# if [ x$hardware != "xBCM2708" ]; then
# echo ""
# echo " +------------------------------------------------------------+"
# echo " | wiringPi is designed to run on the Raspberry Pi only. |"
# echo " | This processor does not appear to be a Raspberry Pi. |"
# echo " +------------------------------------------------------------+"
# echo " | In the unlikely event that you think it is a Raspberry Pi, |"
# echo " | then please accept my apologies and email the contents of |"
# echo " | /proc/cpuinfo to projects@drogon.net. |"
# echo " | - Thanks, Gordon |"
# echo " +------------------------------------------------------------+"
# echo ""
# exit 1
# fi


echo
echo "WiringPi Library"
cd wiringPi


+ 5
- 2
debian-template/wiringPi/DEBIAN/control Wyświetl plik

@@ -1,10 +1,13 @@
Package: wiringpi
Version: 2.61
Version: 2.70
Section: libraries
Priority: optional
Architecture: armhf
Depends: libc6
Maintainer: Gordon Henderson <projects@drogon.net>
Maintainer: Phil Howard <wiringpi@gadgetoid.com>
Uploaders: Phil Howard <wiringpi@gadgetoid.com>
Description: The wiringPi libraries, headers and gpio command
Libraries to allow GPIO access on a Raspberry Pi from C and C++
and BASIC programs as well as from the command-line
Homepage: https://github.com/WiringPi/WiringPi/
Bugs: https://github.com/WiringPi/WiringPi/

+ 1
- 1
debian/control Wyświetl plik

@@ -3,7 +3,7 @@ Section: electronics
Priority: optional
Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
Standards-Version: 3.8.0
Homepage: http://wiringpi.com/
Homepage: https://github.com/WiringPi/WiringPi
Build-Depends: debhelper (>= 8)

Package: libwiringpi2


+ 1
- 1
devLib/Makefile Wyświetl plik

@@ -5,7 +5,7 @@
# Copyright (c) 2012-2016 Gordon Henderson
#################################################################################
# This file is part of wiringPi:
# https://projects.drogon.net/raspberry-pi/wiringpi/
# https://github.com/wiringPi/wiringPi
#
# wiringPi is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/ds1302.c Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/ds1302.h Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/gertboard.c Wyświetl plik

@@ -13,7 +13,7 @@
*
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
devLib/gertboard.h Wyświetl plik

@@ -8,7 +8,7 @@
*
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
devLib/lcd.c Wyświetl plik

@@ -7,7 +7,7 @@
* Copyright (c) 2012 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/lcd.h Wyświetl plik

@@ -7,7 +7,7 @@
* Copyright (c) 2012 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/lcd128x64.c Wyświetl plik

@@ -13,7 +13,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/lcd128x64.h Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/maxdetect.c Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/maxdetect.h Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/piFace.c Wyświetl plik

@@ -6,7 +6,7 @@
* Copyright (c) 2012-2013 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
devLib/piFace.h Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2012-2013 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/piFaceOld.c Wyświetl plik

@@ -6,7 +6,7 @@
* has an MCP23S17 GPIO device connected via the SPI bus.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
devLib/piGlow.c Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/piGlow.h Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/piNes.c Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2012 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
devLib/piNes.h Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2012 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
devLib/scrollPhat.c Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2015 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/scrollPhat.h Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2015 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
devLib/scrollPhatFont.h Wyświetl plik

@@ -8,7 +8,7 @@
* Copyright (c) 2015-2016 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 3
- 3
examples/Gertboard/buttons.c Wyświetl plik

@@ -1,12 +1,12 @@
/*
* buttons.c:
* Read the Gertboard buttons. Each one will act as an on/off
* tiggle switch for 3 different LEDs
* toggle switch for 3 different LEDs
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 3
- 3
examples/Gertboard/gertboard.c Wyświetl plik

@@ -7,12 +7,12 @@
*
* We output a sine wave on D/A port 0 and sample A/D port 0. We then
* plot the input value on the terminal as a sort of vertical scrolling
* oscilloscipe.
* oscilloscope.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/Gertboard/temperature.c Wyświetl plik

@@ -3,10 +3,10 @@
* Demonstrate use of the Gertboard A to D converter to make
* a simple thermometer using the LM35.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/Gertboard/voltmeter.c Wyświetl plik

@@ -3,10 +3,10 @@
* Demonstrate use of the Gertboard A to D converter to make
* a simple voltmeter.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/Makefile Wyświetl plik

@@ -1,7 +1,7 @@
#
# Makefile:
# wiringPi - A "wiring" library for the Raspberry Pi
# https://projects.drogon.net/wiring-pi
# https://github.com/wiringPi/wiringPi
#
# Copyright (c) 2012-2015 Gordon Henderson
#################################################################################


+ 1
- 1
examples/PiFace/Makefile Wyświetl plik

@@ -1,7 +1,7 @@
#
# Makefile:
# wiringPi - A "wiring" library for the Raspberry Pi
# https://projects.drogon.net/wiring-pi
# https://github.com/wiringPi/wiringPi
#
# Copyright (c) 2012 Gordon Henderson
#################################################################################


+ 2
- 2
examples/PiFace/blink.c Wyświetl plik

@@ -2,10 +2,10 @@
* blink.c:
* Simple "blink" test for the PiFace interface board.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/PiFace/buttons.c Wyświetl plik

@@ -4,10 +4,10 @@
*
* Read the buttons and output the same to the LEDs
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/PiFace/metro.c Wyświetl plik

@@ -2,10 +2,10 @@
* metronome.c:
* Simple test for the PiFace interface board.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/PiFace/motor.c Wyświetl plik

@@ -4,10 +4,10 @@
* circuit via the 2 relays.
* Then add on an external transsitor to help with PWM.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/PiFace/reaction.c Wyświetl plik

@@ -2,10 +2,10 @@
* reaction.c:
* Simple test for the PiFace interface board.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/PiGlow/Makefile Wyświetl plik

@@ -1,7 +1,7 @@
#
# Makefile:
# wiringPi - A "wiring" library for the Raspberry Pi
# https://projects.drogon.net/wiring-pi
# https://github.com/wiringPi/wiringPi
#
# Copyright (c) 2012-2015 Gordon Henderson
#################################################################################


+ 1
- 1
examples/PiGlow/piGlow0.c Wyświetl plik

@@ -8,7 +8,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/PiGlow/piGlow1.c Wyświetl plik

@@ -6,7 +6,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/PiGlow/piglow.c Wyświetl plik

@@ -6,7 +6,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/blink-thread.c Wyświetl plik

@@ -3,10 +3,10 @@
* Standard "blink" program in wiringPi. Blinks an LED connected
* to the first GPIO pin.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/blink.c Wyświetl plik

@@ -3,10 +3,10 @@
* Standard "blink" program in wiringPi. Blinks an LED connected
* to the first GPIO pin.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/blink.rtb Wyświetl plik

@@ -1,10 +1,10 @@
// blink.rtb:
// Blink program in Return to Basic
//
// Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
// Copyright (c) 2012-2013 Gordon Henderson.
//**********************************************************************
// This file is part of wiringPi:
// https://projects.drogon.net/raspberry-pi/wiringpi/
// https://github.com/WiringPi/WiringPi
//
// wiringPi is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/blink.sh Wyświetl plik

@@ -4,10 +4,10 @@
# Standard "blink" program in wiringPi. Blinks an LED connected
# to the first GPIO pin.
#
# Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
# Copyright (c) 2012-2013 Gordon Henderson.
#######################################################################
# This file is part of wiringPi:
# https://projects.drogon.net/raspberry-pi/wiringpi/
# https://github.com/WiringPi/WiringPi
#
# wiringPi is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/blink12.c Wyświetl plik

@@ -3,10 +3,10 @@
* Simple sequence over the first 12 GPIO pins - LEDs
* Aimed at the Gertboard, but it's fairly generic.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 3
- 3
examples/blink12drcs.c Wyświetl plik

@@ -2,12 +2,12 @@
* blink12drcs.c:
* Simple sequence over the first 12 GPIO pins - LEDs
* Aimed at the Gertboard, but it's fairly generic.
* This version uses DRC totalk to the ATmega on the Gertboard
* This version uses DRC to talk to the ATmega on the Gertboard
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/blink6drcs.c Wyświetl plik

@@ -4,10 +4,10 @@
* Aimed at the Gertduino, but it's fairly generic.
* This version uses DRC to talk to the ATmega on the Gertduino
*
* Copyright (c) 2012-2014 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2014 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/blink8-drcn.c Wyświetl plik

@@ -3,10 +3,10 @@
* Simple sequence over the first 8 GPIO pins - LEDs
* Aimed at the Ladder board, but it's fairly generic.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/blink8.c Wyświetl plik

@@ -3,10 +3,10 @@
* Simple sequence over the first 8 GPIO pins - LEDs
* Aimed at the Gertboard, but it's fairly generic.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/clock.c Wyświetl plik

@@ -16,7 +16,7 @@
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/delayTest.c Wyświetl plik

@@ -3,10 +3,10 @@
* Just a little test program I'm using to experiment with
* various timings and latency, etc.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/ds1302.c Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/header.h Wyświetl plik

@@ -1,10 +1,10 @@
/*
* file.c:
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 3
- 3
examples/isr-osc.c Wyświetl plik

@@ -5,7 +5,7 @@
* How to test:
*
* IMPORTANT: To run this test we connect 2 GPIO pins together, but
* before we do that YOU must make sure that they are both setup
* before we do that YOU must make sure that they are both set up
* the right way. If they are set to outputs and one is high and one low,
* then you connect the wire, you'll create a short and that won't be good.
*
@@ -23,10 +23,10 @@
* then do the up/down toggling for itself and run at full speed, and
* it will report the number of interrupts recieved every second.
*
* Copyright (c) 2013 Gordon Henderson. projects@drogon.net
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/isr.c Wyświetl plik

@@ -14,7 +14,7 @@
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 3
- 3
examples/lcd-adafruit.c Wyświetl plik

@@ -7,7 +7,7 @@
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -271,8 +271,8 @@ int main (int argc, char *argv[])

adafruitLCDSetup (colour) ;

lcdPosition (lcdHandle, 0, 0) ; lcdPuts (lcdHandle, "Gordon Henderson") ;
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi.com ") ;
lcdPosition (lcdHandle, 0, 0) ; lcdPuts (lcdHandle, " Hello World ") ;
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi ") ;

waitForEnter () ;



+ 4
- 4
examples/lcd.c Wyświetl plik

@@ -19,7 +19,7 @@
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -215,14 +215,14 @@ int main (int argc, char *argv[])
return -1 ;
}

lcdPosition (lcdHandle, 0, 0) ; lcdPuts (lcdHandle, "Gordon Henderson") ;
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi.com ") ;
lcdPosition (lcdHandle, 0, 0) ; lcdPuts (lcdHandle, "Hello World") ;
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi ") ;

waitForEnter () ;

if (rows > 1)
{
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi.com ") ;
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi ") ;

if (rows == 4)
{


+ 1
- 1
examples/lowPower.c Wyświetl plik

@@ -9,7 +9,7 @@
* Copyright (c) 2014 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/max31855.c Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2015 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/nes.c Wyświetl plik

@@ -2,10 +2,10 @@
* nes.c:
* Test program for an old NES controller connected to the Pi.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/okLed.c Wyświetl plik

@@ -9,10 +9,10 @@
* e.g. by putting it in /etc/rc.local and running it in the
* background &
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/pwm.c Wyświetl plik

@@ -2,10 +2,10 @@
* pwm.c:
* This tests the hardware PWM channel.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/q2w/Makefile Wyświetl plik

@@ -1,7 +1,7 @@
#
# Makefile:
# wiringPi - A "wiring" library for the Raspberry Pi
# https://projects.drogon.net/wiring-pi
# https://github.com/wiringPi/wiringPi
#
# Copyright (c) 2012-2013 Gordon Henderson
#################################################################################


+ 2
- 2
examples/q2w/binary.c Wyświetl plik

@@ -3,10 +3,10 @@
* Using the Quick 2 wire 16-bit GPIO expansion board to output
* a binary counter.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/q2w/blink-io.c Wyświetl plik

@@ -2,10 +2,10 @@
* blink-io.c:
* Simple "blink" test for the Quick2Wire 16-pin IO board.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/q2w/blink.c Wyświetl plik

@@ -2,10 +2,10 @@
* blink.c:
* Simple "blink" test for the Quick2Wire interface board.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/q2w/blink.sh Wyświetl plik

@@ -4,10 +4,10 @@
# Standard "blink" program in wiringPi. Blinks an LED connected
# to the LED on the Quick2Wire board
#
# Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
# Copyright (c) 2012-2013 Gordon Henderson.
#######################################################################
# This file is part of wiringPi:
# https://projects.drogon.net/raspberry-pi/wiringpi/
# https://github.com/WiringPi/WiringPi
#
# wiringPi is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/q2w/bright.c Wyświetl plik

@@ -2,10 +2,10 @@
* bright.c:
* Vary the Q2W LED brightness with the analog card
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/q2w/button.c Wyświetl plik

@@ -2,10 +2,10 @@
* button.c:
* Simple button test for the Quick2Wire interface board.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/q2w/volts.c Wyświetl plik

@@ -2,10 +2,10 @@
* volts.c:
* Read in all 4 analogs on the Q2W analog board.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/rht03.c Wyświetl plik

@@ -2,10 +2,10 @@
* rht03.c:
* Driver for the MaxDetect series sensors
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/scrollPhat/Makefile Wyświetl plik

@@ -1,7 +1,7 @@
#
# Makefile:
# wiringPi - A "wiring" library for the Raspberry Pi
# https://projects.drogon.net/wiring-pi
# https://github.com/wiringPi/wiringPi
#
# Copyright (c) 2012-2015 Gordon Henderson
#################################################################################


+ 3
- 3
examples/scrollPhat/scphat.c Wyświetl plik

@@ -1,12 +1,12 @@
/*
* scphat.c:
* Little program to allow use of the Pimoroni Sctoll Phat
* Little program to allow use of the Pimoroni Scroll pHAT
* from the command-line.
*
* Copyright (c) 2015-2016 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2015-2016 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 3
- 3
examples/scrollPhat/test.c Wyświetl plik

@@ -1,11 +1,11 @@
/*
* test.c:
* Little test program forthe Pimoroni Scroll Phat.
* Little test program for the Pimoroni Scroll pHAT.
*
* Copyright (c) 2015-2016 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2015-2016 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/serialRead.c Wyświetl plik

@@ -2,10 +2,10 @@
* serial.c:
* Example program to read bytes from the Serial line
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/serialTest.c Wyświetl plik

@@ -3,10 +3,10 @@
* Very simple program to test the serial port. Expects
* the port to be looped back to itself
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/servo.c Wyświetl plik

@@ -3,10 +3,10 @@
* Test of the softServo code.
* Do not use this code - use the servoBlaster kernel module instead
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/softPwm.c Wyświetl plik

@@ -3,10 +3,10 @@
* Test of the software PWM driver. Needs 8 LEDs connected
* to the Pi - e.g. Ladder board.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/softTone.c Wyświetl plik

@@ -3,10 +3,10 @@
* Test of the softTone module in wiringPi
* Plays a scale out on pin 3 - connect pizeo disc to pin 3 & 0v
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 2
- 2
examples/speed.c Wyświetl plik

@@ -3,10 +3,10 @@
* Simple program to measure the speed of the various GPIO
* access mechanisms.
*
* Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net>
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
examples/spiSpeed.c Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2014 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
examples/wfi.c Wyświetl plik

@@ -15,7 +15,7 @@
* Copyright (c) 2012-2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
gpio/Makefile Wyświetl plik

@@ -2,7 +2,7 @@
# Makefile:
# The gpio command:
# A swiss-army knige of GPIO shenanigans.
# https://projects.drogon.net/wiring-pi
# https://github.com/wiringPi/wiringPi
#
# Copyright (c) 2012-2016 Gordon Henderson
#################################################################################


+ 1
- 2
gpio/gpio.1 Wyświetl plik

@@ -105,7 +105,6 @@ BCM_GPIO pin numbers are always used with the export and edge commands.
This causes the named extension to be initialised. Extensions
comprise of a name (e.g. mcp23017) followed by a colon, then the
pin-base, then more optional parameters depending on the extension type.
See the web page on http://wiringpi.com/the-gpio-utility/

.TP
.B \-p
@@ -329,7 +328,7 @@ in future releases once the /dev/gpiomem interface is fully operational.
.LP
WiringPi's home page
.IP
http://wiringpi.com/
https://github.com/WiringPi/WiringPi/

.SH AUTHOR



+ 1
- 1
gpio/gpio.c Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2012-2018 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
gpio/readall.c Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2012-2018 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by


+ 4
- 1
newVersion Wyświetl plik

@@ -40,8 +40,11 @@ Section: libraries
Priority: optional
Architecture: armhf
Depends: libc6
Maintainer: Gordon Henderson <projects@drogon.net>
Maintainer: Phil Howard <wiringpi@gadgetoid.com>
Uploaders: Phil Howard <wiringpi@gadgetoid.com>
Description: The wiringPi libraries, headers and gpio command
Libraries to allow GPIO access on a Raspberry Pi from C and C++
and BASIC programs as well as from the command-line
Homepage: https://github.com/WiringPi/WiringPi/
Bugs: https://github.com/WiringPi/WiringPi/
EOF

+ 1
- 1
pins/pins.tex Wyświetl plik

@@ -37,7 +37,7 @@

\begin{center}
\bfseries{WiringPi: GPIO Pin Numbering Tables}\\
\tt{http://wiringpi.com/}
\tt{https://github.com/WiringPi/WiringPi}
\end{center}

\begin{center}


+ 2
- 2
version.h Wyświetl plik

@@ -1,3 +1,3 @@
#define VERSION "2.61"
#define VERSION "2.70"
#define VERSION_MAJOR 2
#define VERSION_MINOR 61
#define VERSION_MINOR 70

+ 1
- 1
wiringPi/Makefile Wyświetl plik

@@ -5,7 +5,7 @@
# Copyright (c) 2012-2015 Gordon Henderson
#################################################################################
# This file is part of wiringPi:
# https://projects.drogon.net/raspberry-pi/wiringpi/
# https://github.com/wiringPi/wiringPi
#
# wiringPi is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by


+ 1
- 1
wiringPi/ads1115.c Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2016 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/ads1115.h Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2016 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/bmp180.c Wyświetl plik

@@ -10,7 +10,7 @@
*
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/bmp180.h Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2016 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/drcNet.c Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2016-2017 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/drcNet.h Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2016-2017 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/drcSerial.c Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2013-2016 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/drcSerial.h Wyświetl plik

@@ -4,7 +4,7 @@
* Copyright (c) 2013 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/ds18b20.c Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2016 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


+ 1
- 1
wiringPi/ds18b20.h Wyświetl plik

@@ -5,7 +5,7 @@
* Copyright (c) 2016 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
* https://github.com/WiringPi/WiringPi/
*
* wiringPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików

Ładowanie…
Anuluj
Zapisz