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
Gordon Henderson
99095e3fa0
Added new SPI driver helpers.
...
Changed the gertboard code to use it
and ran more tests on he Gertboard code.
2012-08-27 20:56:14 +01:00
Gordon Henderson
4666573910
Added C++ wrappers for some of the newer .h files
2012-08-25 12:31:14 +01:00
Gordon Henderson
c6799ea998
Updating softPwm to fix some typos.
2012-08-24 19:07:54 +01:00
Gordon Henderson
a20fb1b154
Added software PWM module into wiringPi - library code
...
and an example.
2012-08-24 17:49:26 +01:00
Gordon Henderson
e636f6213b
Merge branch 'master' of git://git.drogon.net/wiringPi
2012-08-20 11:10:18 +01:00
Gordon Henderson
fbab4b8329
Changes to the piNes driver to relect the new delayMicroseconds()
...
code. Seems the old 4011 in the NES controller isn't that fast
afterall!
2012-08-20 11:08:34 +01:00
Gordon Henderson
870ba4129f
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.
2012-08-19 15:38:25 +01:00
Gordon Henderson
1bb4989e11
Merge branch 'master' of git.drogon.net:projects/wiringPi
...
Conflicts:
gpio/gpio.c
2012-08-19 15:33:26 +01:00
Gordon Henderson
178ea08a0f
Minor updates to GPIO and README files
2012-08-19 15:17:03 +01:00
Gordon Henderson
f99ffeda40
Updated the GPIO command to add in new features for PWM
...
Updated wiringPi to add new PWM controls.
2012-08-19 15:12:45 +01:00
Gordon Henderson
8fcaefd557
Updated Makefile so that uninstall works properly
2012-08-18 19:11:02 +01:00
Gordon Henderson
f9bec274ec
Tidying up some old debug
2012-08-18 13:53:01 +01:00
Gordon Henderson
c213e051c6
Added some comments about removing the call to pullUpDnControl()
...
in pinMode ()
2012-08-18 12:04:46 +01:00
Gordon Henderson
b23cb44ffa
Updated wiringPi.c to work with some pullUpDown stuff
...
General tidying up of some of the code round delayMicroseconds
2012-08-18 08:22:45 +01:00
Gordon Henderson
bf0ad86017
Initial move to GIT
2012-08-16 15:04:43 +01:00