Skip to content

Encoder: add logging, move docs to README.md #195

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

Merged
merged 12 commits into from
Nov 17, 2017
Merged

Encoder: add logging, move docs to README.md #195

merged 12 commits into from
Nov 17, 2017

Conversation

dplanella
Copy link
Contributor

Add logging support to the Encoder module and turn off unconditional debug output. To use, add the following statements to any application that uses the module:

import logging
logging.basicConfig(level=logging.INFO)

To see more verbose output, logging.DEBUG can be used. Refer to the Python logging module documentation for more info.

The module was also lightly cleaned up by moving the instructions to set up QEP to a separate README.md file for an easier read and maintenance.

@pdp7
Copy link
Collaborator

pdp7 commented Nov 17, 2017

Thanks @dplanella

@pdp7 pdp7 merged commit 91fa012 into adafruit:master Nov 17, 2017
pdp7 added a commit that referenced this pull request Nov 19, 2017
Release 1.0.8:
==============
Fixes:
  Issue #196: cache board type to avoid poor performance
  Issue #192: fix PocketBeagle PWM pin typo
  Issue #191: turn off RotaryEncoder's debug output by default
  Issue #188: GPIO is extremely slow (20ms to toggle)
  Issue #186: problems with UART

shortlog:

David Planella (12):
  Copy Encoder module comments to README.md
  Formatted Encoder README in markdown
  Fixed Encoder README formatting
  Removed QEP instructions from Encoder module
  Fixes to Encoder README
  Updated Encoder README
  Encoder README: added info on dedicated overlays
  Encoder README: updated info on pre-requisites
  Encoder README update
  Encoder README update
  Add logging support, turn off unconditional debug output
  Encoder: remove unused logging code

Drew Fustini (3):
  Merge pull request #195 from dplanella/master
  Fix PocketBeagle PWM pin typo (#192)
  cache board type to avoid poor performance (#196)

Signed-off-by: Drew Fustini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants