Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Oct 23, 2017
1 parent 2b5b367 commit 626bf3c
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ bpod_rotaryencoder_module/__pycache__/

*.pyc

docs/build/html/

docs/build/
6 changes: 3 additions & 3 deletions docs/source/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ This module can be connected and disconnected from the Pybpod-api library. For t
.. code:: python
PYBPOD_API_MODULES = [
'bpod_rotaryencoder_module'
'pybpod_rotaryencoder_module'
]
.. note::
Expand Down Expand Up @@ -96,7 +96,7 @@ Access the rotary encoder module directly from the USB port

.. code:: python
from bpod_rotaryencoder_module.module_api import RotaryEncoderModule
from pybpod_rotaryencoder_module.module_api import RotaryEncoderModule
m = RotaryEncoderModule('/dev/ttyACM1')
Expand Down Expand Up @@ -129,7 +129,7 @@ Configure the using the GUI
.. code:: python
import pyforms
from bpod_rotaryencoder_module.module_gui import RotaryEncoderModuleGUI
from pybpod_rotaryencoder_module.module_gui import RotaryEncoderModuleGUI
pyforms.start_app( RotaryEncoderModuleGUI, geometry=(0,0,600,500) )
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ What is the Rotary Encoder Module
===================================

The `Rotary Encoder Module <https://sanworks.io/shop/viewproduct?productID=1022>`_ is a board developed by `sanworks.io <https://sanworks.io>`_ , to record and analyze rotational movements from a motor.
On this documentation it is explained how to use the **bpod_rotaryencoder_module** Python 3 library to control this module.
On this documentation it is explained how to use the **pybpod_rotaryencoder_module** Python 3 library to control this module.



Expand Down
2 changes: 1 addition & 1 deletion docs/source/pybpod-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
.. module:: pybpodapi
:synopsis: top-level module

.. autoclass:: bpod_rotaryencoder_module.module.RotaryEncoder
.. autoclass:: pybpod_rotaryencoder_module.module.RotaryEncoder
:members:
:private-members:
:show-inheritance:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/usb-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
.. module:: pybpodapi
:synopsis: top-level module

.. autoclass:: bpod_rotaryencoder_module.module_api.RotaryEncoderModule
.. autoclass:: pybpod_rotaryencoder_module.module_api.RotaryEncoderModule
:members:
:private-members:

Expand All @@ -19,7 +19,7 @@ Usage example
.. code:: python
from bpod_rotaryencoder_module.module_api import RotaryEncoderModule
from pybpod_rotaryencoder_module.module_api import RotaryEncoderModule
m = RotaryEncoderModule('/dev/ttyACM1')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
__email__ = ['ricardojvr@gmail.com']
__status__ = "Development"

from bpod_rotaryencoder_module.module import RotaryEncoder as BpodModule
from pybpod_rotaryencoder_module.module import RotaryEncoder as BpodModule
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pyforms import BaseWidget
from pyforms.Controls import ControlText, ControlCheckBox, ControlNumber, ControlButton
from pyforms.Controls import ControlMatplotlib
from bpod_rotaryencoder_module.module_api import RotaryEncoderModule
from pybpod_rotaryencoder_module.module_api import RotaryEncoderModule

from pysettings import conf
if conf.PYFORMS_USE_QT5:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@


setup(
name='bpod_rotaryencoder_module',
name='pybpod_rotaryencoder_module',
version=0,
description="""Bpod rotary encoder module controller""",
description="""PyBpod rotary encoder module controller""",
author=['Ricardo Ribeiro'],
author_email=['ricardojvr@gmail.com'],
license='Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>',
Expand Down

0 comments on commit 626bf3c

Please sign in to comment.