Gordon Henderson
5e16e15a59
tidied and tested DRC Serial (renamed it it drcSerial too)
Tweaked the mcp3422 code
altered the build script to let me build static
преди 11 години
Gordon Henderson
d24cf0630b
Added in the SN3218 LED controller IC - as used in the PiGlow
so write a little test program with it too.
Updated gpio to use the sn3218 too.
преди 11 години
Gordon Henderson
8c8578a26b
Reverted gpio readall to older version - new version is gpio nreadall
fixed the max5322 code.
преди 11 години
Gordon Henderson
27afc017b9
Added in a max5322 SPI D to A chip
преди 11 години
Gordon Henderson
4d43c8cdca
gpio Makefile changed to add PREFIX & DESTDIR
mcp3004.c bugfixed. It works now!
преди 11 години
Gordon Henderson
45bfe43c1e
Typo in mcp3002.c
преди 11 години
Gordon Henderson
4a379ec085
Properly added the max31855 files now
преди 11 години
Gordon Henderson
27698766b2
Fixed delayMicroseconds for more than 1 second.
Added new code for max31855
преди 11 години
Gordon Henderson
348bc739d1
Sorted a variable initialisation issue that was giving incorrect results
with wiringPiISR.
Added the ability to readall/reset from extension modules.
Changed the build script to use /bin/sh rather than /bin/bash as it seems
some installations don't have /bin/bash (or if they do, then the people who
are telling me that ./build gives them command not found are wrong)
преди 11 години
Gordon Henderson
711017ec36
More typos, added mcp3004/mcp3008
преди 11 години
Gordon Henderson
41fb1b9e2a
Gah. another small fix to the I2C code.
преди 11 години
Gordon Henderson
bfaf266ada
Aded lcd-adafruit to test/drive the Adafruit RGB LCD plate
Added the Quick 2 Wire codes, etc.
Minor typo/bug fixes.
Added more modules into gpio -x
преди 11 години
Gordon Henderson
25895a8670
Bother. Small issue crept into the SPI code.
преди 11 години
Gordon Henderson
da38443cb2
wiringPi Version 2 - First commit (of v2)
преди 11 години
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)
преди 11 години
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.
преди 11 години
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.
преди 11 години
Gordon Henderson
db925cea18
Updated the build & makefile to allow for building the
I2C libraries again - but only if the right headers are
installed!
преди 12 години
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.
преди 12 години
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.
преди 12 години
Gordon Henderson
c121349a7b
Minor changes to messages being printed from wiringPiSetup()
Changed built to work marginally better.
преди 12 години
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!)
преди 12 години
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 години
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 години
Gordon Henderson
86a5c68e08
Updating gpio manual page
преди 12 години
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 години
Gordon Henderson
8cb493937f
Improved the PWM functions with help from Chris Hall.
преди 12 години
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 години
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 години
Gordon Henderson
99095e3fa0
Added new SPI driver helpers.
Changed the gertboard code to use it
and ran more tests on he Gertboard code.
преди 12 години
Gordon Henderson
4666573910
Added C++ wrappers for some of the newer .h files
преди 12 години
Gordon Henderson
c6799ea998
Updating softPwm to fix some typos.
преди 12 години
Gordon Henderson
a20fb1b154
Added software PWM module into wiringPi - library code
and an example.
преди 12 години
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 години
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 години
Gordon Henderson
178ea08a0f
Minor updates to GPIO and README files
преди 12 години
Gordon Henderson
f99ffeda40
Updated the GPIO command to add in new features for PWM
Updated wiringPi to add new PWM controls.
преди 12 години
Gordon Henderson
8fcaefd557
Updated Makefile so that uninstall works properly
преди 12 години
Gordon Henderson
f9bec274ec
Tidying up some old debug
преди 12 години
Gordon Henderson
c213e051c6
Added some comments about removing the call to pullUpDnControl()
in pinMode ()
преди 12 години
Gordon Henderson
b23cb44ffa
Updated wiringPi.c to work with some pullUpDown stuff
General tidying up of some of the code round delayMicroseconds
преди 12 години
Gordon Henderson
0d68ceea6b
Updated wiringPi.c to work with some pullUpDown stuff
преди 12 години
Gordon Henderson
bf0ad86017
Initial move to GIT
преди 12 години