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
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
f99ffeda40
Updated the GPIO command to add in new features for PWM
Updated wiringPi to add new PWM controls.
преди 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 години