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.
12 years ago
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
12 years ago
Gordon Henderson
86a5c68e08
Updating gpio manual page
12 years ago
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.
12 years ago
Gordon Henderson
8cb493937f
Improved the PWM functions with help from Chris Hall.
12 years ago
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.
12 years ago
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
12 years ago
Gordon Henderson
99095e3fa0
Added new SPI driver helpers.
Changed the gertboard code to use it
and ran more tests on he Gertboard code.
12 years ago
Gordon Henderson
4666573910
Added C++ wrappers for some of the newer .h files
12 years ago
Gordon Henderson
c6799ea998
Updating softPwm to fix some typos.
12 years ago
Gordon Henderson
a20fb1b154
Added software PWM module into wiringPi - library code
and an example.
12 years ago
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!
12 years ago
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.
12 years ago
Gordon Henderson
178ea08a0f
Minor updates to GPIO and README files
12 years ago
Gordon Henderson
f99ffeda40
Updated the GPIO command to add in new features for PWM
Updated wiringPi to add new PWM controls.
12 years ago
Gordon Henderson
8fcaefd557
Updated Makefile so that uninstall works properly
12 years ago
Gordon Henderson
f9bec274ec
Tidying up some old debug
12 years ago
Gordon Henderson
c213e051c6
Added some comments about removing the call to pullUpDnControl()
in pinMode ()
12 years ago
Gordon Henderson
b23cb44ffa
Updated wiringPi.c to work with some pullUpDown stuff
General tidying up of some of the code round delayMicroseconds
12 years ago
Gordon Henderson
0d68ceea6b
Updated wiringPi.c to work with some pullUpDown stuff
12 years ago
Gordon Henderson
bf0ad86017
Initial move to GIT
12 years ago