chiark / gitweb /
wiringPi.git
11 years agochanged build to not do the I2C checks.
Gordon Henderson [Sat, 19 Jan 2013 15:10:48 +0000 (15:10 +0000)]
changed build to not do the I2C checks.

11 years agoChanged the build system to drop I2C for now. Seems to cause too many issues
Gordon Henderson [Sat, 19 Jan 2013 10:31:14 +0000 (10:31 +0000)]
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.

11 years agoUpdated the build script to better try to detect lack of i2c-dev
Gordon Henderson [Tue, 15 Jan 2013 22:38:21 +0000 (22:38 +0000)]
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.

11 years agoChange to the build script to check for the presence of the I2C development
Gordon Henderson [Tue, 15 Jan 2013 15:45:32 +0000 (15:45 +0000)]
Change to the build script to check for the presence of the I2C development
libraries.
Bumped gpio version.

11 years agoMinor changes to messages being printed from wiringPiSetup()
Gordon Henderson [Tue, 15 Jan 2013 15:30:26 +0000 (15:30 +0000)]
Minor changes to messages being printed from wiringPiSetup()
Changed built to work marginally better.

11 years agoLots of changes here. Added new I2C test code, a new serialTest program,
Gordon Henderson [Mon, 14 Jan 2013 11:31:56 +0000 (11:31 +0000)]
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!)

11 years agoBig update here.
Gordon Henderson [Thu, 6 Dec 2012 21:49:41 +0000 (21:49 +0000)]
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.

11 years agoMore changes to help reflect usage on Rev 2 / 512MB Raspberry Pi's.
Gordon Henderson [Sun, 21 Oct 2012 14:25:16 +0000 (15:25 +0100)]
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

11 years agoUpdating gpio manual page
Gordon Henderson [Tue, 2 Oct 2012 13:32:12 +0000 (14:32 +0100)]
Updating gpio manual page

11 years agoUpdated examples makefile to not actually make any code now.
Gordon Henderson [Tue, 2 Oct 2012 13:26:15 +0000 (14:26 +0100)]
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.

11 years agoAdded in some new functions to return the Pi board revision and
Gordon Henderson [Sun, 16 Sep 2012 10:10:55 +0000 (11:10 +0100)]
Added in some new functions to return the Pi board revision and
allow access to the wiringPi to BCM_GPIO pin mapping tables.

11 years agoImproved the PWM functions with help from Chris Hall.
Gordon Henderson [Sun, 16 Sep 2012 09:15:32 +0000 (10:15 +0100)]
Improved the PWM functions with help from Chris Hall.

11 years agoA-Ha! discovered that overvolted Raspberry Pi's have 10000 added to their
Gordon Henderson [Wed, 5 Sep 2012 20:01:12 +0000 (21:01 +0100)]
A-Ha! discovered that overvolted Raspberry Pi's have 10000 added to their
hardware revision number... So have adapted wiringPi to cope.

11 years agoUpdated wiringPi to check the the hardware board revision, to
Gordon Henderson [Wed, 5 Sep 2012 18:26:58 +0000 (19:26 +0100)]
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

11 years agoAdded new SPI driver helpers.
Gordon Henderson [Mon, 27 Aug 2012 19:56:14 +0000 (20:56 +0100)]
Added new SPI driver helpers.
Changed the gertboard code to use it
and ran more tests on he Gertboard code.

11 years agoAdded C++ wrappers for some of the newer .h files
Gordon Henderson [Sat, 25 Aug 2012 11:31:14 +0000 (12:31 +0100)]
Added C++ wrappers for some of the newer .h files

11 years agoUpdating softPwm to fix some typos.
Gordon Henderson [Fri, 24 Aug 2012 18:07:54 +0000 (19:07 +0100)]
Updating softPwm to fix some typos.

11 years agoAdded software PWM module into wiringPi - library code
Gordon Henderson [Fri, 24 Aug 2012 16:49:26 +0000 (17:49 +0100)]
Added software PWM module into wiringPi - library code
and an example.

11 years agoMerge branch 'master' of git://git.drogon.net/wiringPi
Gordon Henderson [Mon, 20 Aug 2012 10:10:18 +0000 (11:10 +0100)]
Merge branch 'master' of git://git.drogon.net/wiringPi

11 years agoChanges to the piNes driver to relect the new delayMicroseconds()
Gordon Henderson [Mon, 20 Aug 2012 10:08:34 +0000 (11:08 +0100)]
Changes to the piNes driver to relect the new delayMicroseconds()
code. Seems the old 4011 in the NES controller isn't that fast
afterall!

11 years agoUpdated pwmWrite to not mask the value written in-case a call
Gordon Henderson [Sun, 19 Aug 2012 14:38:25 +0000 (15:38 +0100)]
Updated pwmWrite to not mask the value written in-case a call
to pumSetRange() happens.

ANDing with 0x3FF was wrong anyway as the PWM counter does from zero
to the top value, not top-1 as I originally thought.

11 years agoMerge branch 'master' of git.drogon.net:projects/wiringPi
Gordon Henderson [Sun, 19 Aug 2012 14:33:26 +0000 (15:33 +0100)]
Merge branch 'master' of git.drogon.net:projects/wiringPi

Conflicts:
gpio/gpio.c

11 years agoMinor updates to GPIO and README files
Gordon Henderson [Sun, 19 Aug 2012 14:17:03 +0000 (15:17 +0100)]
Minor updates to GPIO and README files

11 years agoUpdated the GPIO command to add in new features for PWM
Gordon Henderson [Sun, 19 Aug 2012 14:12:45 +0000 (15:12 +0100)]
Updated the GPIO command to add in new features for PWM
Updated wiringPi to add new PWM controls.

11 years agoUpdated gpio program to fix some minor issues.
Gordon Henderson [Sat, 18 Aug 2012 19:07:42 +0000 (20:07 +0100)]
Updated gpio program to fix some minor issues.
Added top-level build script for lazy building.

11 years agoUpdated Makefile so that uninstall works properly
Gordon Henderson [Sat, 18 Aug 2012 18:11:02 +0000 (19:11 +0100)]
Updated Makefile so that uninstall works properly

11 years agoTidying up
Gordon Henderson [Sat, 18 Aug 2012 13:07:12 +0000 (14:07 +0100)]
Tidying up

11 years agoTidying up some old debug
Gordon Henderson [Sat, 18 Aug 2012 12:53:01 +0000 (13:53 +0100)]
Tidying up some old debug

11 years agoAdded a description!
Gordon Henderson [Sat, 18 Aug 2012 12:22:36 +0000 (13:22 +0100)]
Added a description!

11 years agoAdded some comments about removing the call to pullUpDnControl()
Gordon Henderson [Sat, 18 Aug 2012 11:04:46 +0000 (12:04 +0100)]
Added some comments about removing the call to pullUpDnControl()
in pinMode ()

11 years agoMerge branch 'master' of hermes:git/wiringPi
Gordon Henderson [Sat, 18 Aug 2012 07:27:08 +0000 (08:27 +0100)]
Merge branch 'master' of hermes:git/wiringPi

11 years agoUpdated wiringPi.c to work with some pullUpDown stuff
Gordon Henderson [Fri, 17 Aug 2012 23:05:38 +0000 (00:05 +0100)]
Updated wiringPi.c to work with some pullUpDown stuff
General tidying up of some of the code round delayMicroseconds

11 years agoUpdated wiringPi.c to work with some pullUpDown stuff
Gordon Henderson [Fri, 17 Aug 2012 23:05:38 +0000 (00:05 +0100)]
Updated wiringPi.c to work with some pullUpDown stuff

11 years agoInitial move to GIT
Gordon Henderson [Thu, 16 Aug 2012 14:04:43 +0000 (15:04 +0100)]
Initial move to GIT