Issue #150 [New/open] - POST set function to PWM not working

Posted by fabrica23

What steps will reproduce the problem?

  1. HTTP POST /GPIO/(gpioNumber)/function/pwm
  2. returns 403 - Request forbidden ...

WebIOPi version used? =>0.7.1

Python version used? =>3.2.3

Distro used? (WebIOPi has only been tested on Raspbian Wheezy) =>Wheezy (latest NOOBS install)

Raspberry Pi board revision? (1 or 2) => Model B rev2 For Javascript side bugs, Browser? => Chrome v.41

Please provide any additional information below. Tried POSTing "in" and "out" instead of "pwm" and they work!


Comment 1

Posted by OBlomkvist

I also has this issue, when using pwm.writeAngle function in python. I have a Raspberry pi B+. Calling from my Win 7 laptop with python 2.7.9. Setfunction("out") and DigitalWrite, works.