diff --git a/README.md b/README.md index ac68cf2..7cc74f8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +###THIS REPOSITORY IS DEPRECATED + +####Please see: https://github.com/WiringPi/WiringPi-Python + + + + **WiringPi 2 for Python** WiringPi: An implementation of most of the Arduino Wiring diff --git a/WiringPi/devLib/lcd.c b/WiringPi/devLib/lcd.c index 6c0e474..af9e3c7 100644 --- a/WiringPi/devLib/lcd.c +++ b/WiringPi/devLib/lcd.c @@ -388,10 +388,10 @@ int lcdInit (const int rows, const int cols, const int bits, if (! ((bits == 4) || (bits == 8))) return -1 ; - if ((rows < 0) || (rows > 20)) + if (rows < 0) return -1 ; - if ((cols < 0) || (cols > 20)) + if (cols < 0) return -1 ; // Create a new LCD: diff --git a/wiringpi2.py b/wiringpi2.py index 66ef0bd..e280df7 100644 --- a/wiringpi2.py +++ b/wiringpi2.py @@ -736,7 +736,7 @@ def wiringPiISR(self,*args): def softPwmCreate(self,*args): return softPwmCreate(*args) def softPwmWrite(self,*args): - return sofPwmWrite(*args) + return softPwmWrite(*args) def softToneCreate(self,*args): return softToneCreate(*args)