PWM name collission
A Python module to control the GPIO on a Raspberry Pi
Brought to you by:
croston
Not sure how python handles this (maybe automatic?), but I ran into it while adding it to my Lua binding;
The function GPIO.PWM(pin, freq) has a naming conflict with the new constant return value for GPIO.function(pin), which could be GPIO.PWM.
In my case the function PWM was overwritten by the constant, hence inaccessible.
fwiw; I renamed the function PWM to 'newPWM' as it returns a new instance.
Fix will be in release 0.5.5
Added constant HARD_PWM for gpio_function()
In release 0.5.5 - issue closed