Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement proposal #2

Closed
GoogleCodeExporter opened this issue May 6, 2015 · 1 comment
Closed

Improvement proposal #2

GoogleCodeExporter opened this issue May 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

When stopping webiopi after having changed any input to an output you get a 
warning like "RuntimeWarning: This channnel ....." from the RPi.GPIO module 
when you restart the module.

If you add "RPi.GPIO.cleanup() (or RPi.cleanup() in the latest file in the 
trunk path) to the code that stops the http server (direct before or after    
server.stop()) then this waring disappears.
This will reset all GPIO settings you change with webiopi, but you do that 
anyway right now when initializing your module, so this should not be a problem.

Best regards

Original issue reported on code.google.com by andreas....@googlemail.com on 28 Sep 2012 at 1:48

@GoogleCodeExporter
Copy link
Author

Fixed in WebIOPi 5.0 as it don't use RPi.GPIO anymore, but an included native 
library.

Original comment by tro...@trouch.com on 4 Nov 2012 at 10:44

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant