dreuben / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

POST set function to PWM not working #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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!

Original issue reported on code.google.com by fabrica23 on 6 Apr 2015 at 10:41

GoogleCodeExporter commented 9 years ago
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. 

Original comment by OBlomkv...@gmail.com on 2 May 2015 at 8:50