Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Update mcp3008.py #71

Merged
merged 1 commit into from
Jul 27, 2014
Merged

Update mcp3008.py #71

merged 1 commit into from
Jul 27, 2014

Conversation

shinncchen
Copy link
Contributor

  1. It allows readadc() to be imported and used as a function without the print log on other python file
  2. The GPIO is cleanup if there is a KeyboardInterrupt

1) It allows readadc() to be imported and used as a function without the print log on other python file
2) The GPIO is cleanup if there is a KeyboardInterrupt
@tdicola
Copy link
Contributor

tdicola commented Jul 27, 2014

Thanks for submitting the pull request and apologies it wasn't reviewed sooner. Just gave it a quick test and everything works great. Merging in now, thanks!

tdicola added a commit that referenced this pull request Jul 27, 2014
@tdicola tdicola merged commit c9cb4cc into adafruit:master Jul 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants