220 Commits

Author SHA1 Message Date
Philip Howard
53e9933116 Merge pull request #6 from omribahumi/master
Added WiringPi/wiringPi to extension include dirs
2013-11-23 07:09:26 -08:00
Omri Bahumi
c710a81e7c Added WiringPi/wiringPi to extension include dirs 2013-11-23 17:04:00 +02:00
Philip Howard
e1a81e18a4 Fixed erroneous Python syntax, thanks Livio 2013-09-15 12:21:15 +01:00
Philip Howard
c3eac18c8b Merge pull request #7 from SebastianAigner/master
Made the README examples work with Python compilers / fixed syntax.
2013-09-05 08:50:05 -07:00
Sebastian Aigner
07bfabb8d3 Made the README examples work with Python compilers / fixed syntax. 2013-09-05 17:46:33 +02:00
Philip Howard
07e121c23b Merge pull request #6 from sbma44/master
fixing typo around softPwmWrite binding
2013-08-22 08:13:36 -07:00
sbma44
f90c17ab7c fixing typo around softPwmWrite binding 2013-08-22 10:46:02 -04:00
Philip Howard
8460e7975d Updated wrap 2013-08-15 22:35:44 +01:00
Philip Howard
77a4244474 PiGlow fixes 2013-08-15 22:32:14 +01:00
Philip Howard
1a6514e356 Added missing files 2013-08-15 22:21:51 +01:00
Philip Howard
0af32c6ede Added missing files 2013-08-15 22:21:38 +01:00
Philip Howard
d9fc85a610 Partial update to latest WiringPi 2013-08-13 16:38:26 +01:00
Philip Howard
82cb4bb668 Merge pull request #5 from YodaDaCoda/master
Fixed simple typo.
2013-06-26 00:48:01 -07:00
William Pickering
651295cac0 Correct typo (sofPwmWrite -> softPwmWrite) 2013-06-26 15:54:50 +10:00
Philip Howard
0d8267f16b pointless modifications to order of files in setup.py, readme updated 2013-05-22 22:09:55 +01:00
Philip Howard
6ae3e5b52e Function bindings for all the things 2013-05-21 22:48:41 +01:00
Philip Howard
17c28c2a48 Updated to new WiringPi 2013-05-21 22:25:01 +01:00
Philip Howard
97a4f5131e Various fixes 2013-04-07 11:06:20 +00:00
Philip Howard
9d4e714e4b Added README.md to fix ugly readme 2013-04-01 21:43:45 +00:00
Philip Howard
30e69e667d Updated readme 2013-04-01 21:34:06 +00:00
Philip Howard
fa09d1898d Various bug fixes 2013-04-01 21:11:00 +00:00
Philip Howard
859dda118b Fixed include in piNes.c, two new examples. Nokia LCD one doesnt work 2013-03-28 17:26:27 +00:00
Philip Howard
4970f63b09 More example goodness 2013-03-28 01:10:16 +00:00
Philip Howard
91df201659 More example goodness 2013-03-28 01:10:03 +00:00
Philip Howard
554b542a2f Added manifest file for headers, incremented version number for PiPy deploy. Updated README with disclaimer 2013-03-28 00:00:18 +00:00
Philip Howard
b1169c8364 Updated readme to reflect rename to wiringpi2, added examples 2013-03-27 23:08:14 +00:00
Philip Howard
2215ad316f Fixed includ directives, renamed module to wiringpi2 2013-03-27 23:04:22 +00:00
Philip Howard
fb7c8912fe Removed superfluous file(s) 2013-03-27 22:48:19 +00:00
Philip Howard
0429f1f342 readme 2013-03-27 22:26:03 +00:00
Philip Howard
567ee0027e WiringPi V2.0 for Python2 & Python3 2013-03-27 22:22:00 +00:00
Gordon Henderson
98bcb20d93 Slight change to the gpio program to fix SPI buffer size when loading
the module.
Typo in gpio man page
Bug fixed in board revision detection (which would never happen
anyway, however)
2013-02-07 21:53:49 +00:00
Gordon Henderson
4c8862eac9 Botched the ALT order in gpio )-:
(Or maybe Broadcom did!!!)
2013-02-02 20:33:51 +00:00
Gordon Henderson
56c77b5a2e Added a clock mode to enable the GPIo pins to be set with
one of the GPCLK drivers to generate a frequency up to
19.2MHz.

Tidied some code up and added the clock functions into the gpio
utility.
2013-02-01 20:19:22 +00:00
Gordon Henderson
4ba36e247a Fixed a minor formatting issue in gpio readall 2013-01-28 16:06:34 +00:00
Gordon Henderson
e8f6258004 Quite a few changes here.
Added in generic 'blink' programs in the examples in C, RTB and Shell.
Updated wiringPi with a little big-file on the millis() function and
added in a new micros() function too.
Updated the examples with standard LGPL headers.
Added a new isr-osc.c test program - just for ISR timing purposes.
2013-01-28 13:00:47 +00:00
Gordon Henderson
db925cea18 Updated the build & makefile to allow for building the
I2C libraries again - but only if the right headers are
installed!
2013-01-19 21:46:13 +00:00
Gordon Henderson
95342e1f83 changed build to not do the I2C checks. 2013-01-19 15:10:48 +00:00
Gordon Henderson
be04c1bd52 Changed the build system to drop I2C for now. Seems to cause too many issues
on non Raspbian systems (and even on some Raspbian systems it would appear ):

fixed a timing issue on softTone
fixed some issues in wiringPisetup introduced when optimising the mmap calls.
2013-01-19 10:31:14 +00:00
Gordon Henderson
c82fb8735d Updated the build script to better try to detect lack of i2c-dev
(hopefully!)
Also updated all the mmap code in wiringPiSetup() to make it a bit more
sane and efficient to a degree.
2013-01-15 22:38:21 +00:00
Gordon Henderson
4673e38b1f Change to the build script to check for the presence of the I2C development
libraries.
Bumped gpio version.
2013-01-15 15:45:32 +00:00
Gordon Henderson
c121349a7b Minor changes to messages being printed from wiringPiSetup()
Changed built to work marginally better.
2013-01-15 15:30:26 +00:00
Gordon Henderson
13bbba7a22 Lots of changes here. Added new I2C test code, a new serialTest program,
and developed the new ISR - Interrupt Service Routine
handler - much easier than the old waitForInterrupt code!

Minor tweaks to the gpio program to recognise the environment variable
WIRINGPI_DEBUG too, and removed the printing of the errors from the
main wiringPi setup routines (and added some new ones!)
2013-01-14 11:31:56 +00:00
Gordon Henderson
25e4ec570b Big update here.
delayMicrosecondsHard re-written - again.
Added a serialRead example program, and added in the okLed
to the examples too.
Updated/checked some of the GPIO/PWM code.
Added in some experimental servo and tone generating code and
and example or 2.
Tweaks to the gpio command to correctly load the I2C modules too.
2012-12-06 21:49:41 +00:00
Gordon Henderson
183c5a6b5c More changes to help reflect usage on Rev 2 / 512MB Raspberry Pi's.
Also Makefile tweaks to help improve things somewhat - decided to
read the Makefile manual after some 15 years to updated my make
grey cells somewhat.

New command in the gpio command - readall
2012-10-21 15:25:16 +01:00
Gordon Henderson
86a5c68e08 Updating gpio manual page 2012-10-02 14:32:12 +01:00
Gordon Henderson
db2edcc9c5 Updated examples makefile to not actually make any code now.
Fixed timing in the LCD library to work with new dealyMicroseconds
Minor typos and bigfixes to the gpio command.
2012-10-02 14:26:15 +01:00
Gordon Henderson
538a066c74 Added in some new functions to return the Pi board revision and
allow access to the wiringPi to BCM_GPIO pin mapping tables.
2012-09-16 11:10:55 +01:00
Gordon Henderson
8cb493937f Improved the PWM functions with help from Chris Hall. 2012-09-16 10:15:32 +01:00
Gordon Henderson
30d79dab76 A-Ha! discovered that overvolted Raspberry Pi's have 10000 added to their
hardware revision number... So have adapted wiringPi to cope.
2012-09-05 21:01:12 +01:00
Gordon Henderson
728cdc4c23 Updated wiringPi to check the the hardware board revision, to
accomodate the changes in pin that are present on the Revision
2 Raspberry Pi board.

Added in simple debugging too - set the environment variable
  WIRINGPI_DEBUG
to get some more debug messages out
2012-09-05 19:26:58 +01:00