Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
2a2079d
init
gwdehaan Nov 18, 2017
b4ca5c9
init
gwdehaan Nov 18, 2017
55fd97f
Werkend
gwdehaan Nov 25, 2017
9d068f0
IO POC
gwdehaan Dec 17, 2017
407a706
init
gwdehaan Jan 20, 2018
9bc8d00
IO-Testing
gwdehaan Feb 17, 2018
8b4c1c8
ADC Test
gwdehaan Feb 22, 2018
722914e
Updated SPI basic example in README.md
DancingQuanta Mar 8, 2018
d5733c9
Fixed official spi to usbiss scheme conversion
DancingQuanta Mar 9, 2018
9bcb36d
Fixed lists in READMEE.rst
DancingQuanta Mar 10, 2018
ac0cf0c
Fixed code blocks
DancingQuanta Mar 10, 2018
050380b
Added description to setup.cfg
DancingQuanta Mar 10, 2018
d6fbaec
Moved SPI command bytes to usbiss to make usbiss class standalone
DancingQuanta Mar 10, 2018
a3e132c
Moved test directory to tests directory
DancingQuanta Mar 10, 2018
3cf00e2
Added a test for SPI modes
DancingQuanta Mar 10, 2018
37666b8
Update requirements_dev.txt
DancingQuanta Mar 10, 2018
0706a18
Removed extra blank lines and split long lines up
DancingQuanta Mar 10, 2018
1345ded
Added test for SPI mode setting
DancingQuanta Mar 10, 2018
9135aae
Added an example for USB-ISS and other tiny fixes in README.rst
DancingQuanta Mar 10, 2018
814103a
Changlog for upcoming release 0.2.0
DancingQuanta Mar 10, 2018
936462b
Bump version: 0.1.2 → 0.2.0
DancingQuanta Mar 10, 2018
083e872
Added CONTRIBUTING.rst and package management
DancingQuanta Mar 10, 2018
d2a5424
Some visual indentation fixes
DancingQuanta Mar 11, 2018
231005c
POC ducktyping Afafruit FT232H
gwdehaan Mar 25, 2018
cb80f86
POC - USBISS based on FT232H lib
gwdehaan Apr 3, 2018
6adac5a
Created a mode property for USBISS to get/set operating mode of USB-ISS.
DancingQuanta Mar 11, 2018
ca6a7f6
Revamped catching USB-ISS errors
DancingQuanta Mar 12, 2018
5dd474b
Fully documented SPI driver and its error cases.
DancingQuanta May 5, 2018
5fc1cfb
Changelog for upcoming release 0.2.1
DancingQuanta May 5, 2018
883ae26
Bump version: 0.2.0 → 0.2.1
DancingQuanta May 5, 2018
8ec0411
Removed some SPI information to keep README.md simple
DancingQuanta May 5, 2018
d39309e
Changelog for upcoming release 0.2.2
DancingQuanta May 5, 2018
fcdd81e
Bump version: 0.2.1 → 0.2.2
DancingQuanta May 5, 2018
b065fac
Cleaned up usbiss docstrings
DancingQuanta Jun 27, 2018
fc64e12
Corrected Makefile to use usbiuss not pyusbiss
DancingQuanta Jun 27, 2018
c9a3dda
ready for testing
gwdehaan Nov 30, 2018
843678a
I2C Basic Setup
gwdehaan Dec 30, 2018
538bcfd
ReadRaw8 WriteRaw8 Ready
gwdehaan Jan 19, 2019
8e49b09
Inheritance of I2CDevice
gwdehaan Jan 24, 2019
8f70fab
I2C_LED accepted
gwdehaan Jan 27, 2019
5a01c6b
i2cDevice ready for test
gwdehaan Feb 5, 2019
f16d50a
I2Device class ready and tested
gwdehaan Feb 9, 2019
0b39753
Before refactoring
gwdehaan Feb 28, 2019
dc74504
Reorganize Package
gwdehaan Feb 28, 2019
3dbda7a
Eprom functions unittest
gwdehaan Mar 2, 2019
f94ca4d
Examples added
gwdehaan Mar 2, 2019
06eb2b9
Added unittest i2c
gwdehaan Mar 2, 2019
3227080
Added test_i2c_registers
gwdehaan Mar 2, 2019
4c91dad
upstream sync
gwdehaan Mar 2, 2019
779d57f
Cleanup
gwdehaan Mar 2, 2019
80b1972
Cleanup Scripts
gwdehaan Mar 2, 2019
b3ac9cc
cleanup vsc
gwdehaan Mar 2, 2019
49efba1
cleanup vsc
gwdehaan Mar 2, 2019
afba7a7
cleanup vsc
gwdehaan Mar 2, 2019
1147302
cleanup VSC
gwdehaan Mar 2, 2019
b578a8e
Merge classes 2
gwdehaan Mar 2, 2019
16f9eb1
Test directory to Tests
gwdehaan Mar 3, 2019
eec9080
USBISS - error corrected. I2C - use mode
gwdehaan Mar 3, 2019
dae1afe
write16 - endian corrected
gwdehaan Mar 3, 2019
2eec883
Added unittest usbiss.py
gwdehaan Mar 3, 2019
b6fc4f7
test_usbiss : added more tests
gwdehaan Mar 3, 2019
b9bcdf0
get real usbiss mode instead of getter
gwdehaan Mar 4, 2019
9d582e8
test_usbiss refactor
gwdehaan Mar 5, 2019
1134a4d
test_i2c_registers(A1) added
gwdehaan Mar 9, 2019
35ee483
Wording adapted
gwdehaan Mar 9, 2019
ba28595
Added i2c test for no register functions (SGL)
gwdehaan Mar 10, 2019
75994ae
Added unittest test_i2c_noregister
gwdehaan Mar 17, 2019
852d737
Adapted GPIO to new USBISS mode setup
gwdehaan Mar 18, 2019
3e047b2
Adapted GPIO for using new USBISS mode setup
gwdehaan Mar 18, 2019
43e648f
Cleanup test / Example dirs
gwdehaan Mar 23, 2019
614f88a
Added test_gpio Unittest
gwdehaan Mar 23, 2019
af51f37
i2c integration first steps
gwdehaan Mar 31, 2019
fcf960c
Serial first setup and test
gwdehaan Mar 31, 2019
44cd834
Serial added
gwdehaan Apr 14, 2019
f65758b
unittest serial loopback Added
gwdehaan Apr 18, 2019
77f8b25
Serial unittest using another COM-Port
gwdehaan Apr 21, 2019
8ca7036
serial - Documentation added
gwdehaan Apr 23, 2019
f2de0d4
Combining I2C and GPIO
gwdehaan May 5, 2019
16675fc
i2c should not be able to close usbiss
gwdehaan May 5, 2019
42d3bf6
serial-using a local buffer to improve reliability
gwdehaan May 6, 2019
33658f9
Adapted to using udbiss in the userprogram
gwdehaan May 8, 2019
3a99e6a
Added - Testing Serial with GPIO
gwdehaan May 8, 2019
b59ae80
serial cleanup and docs
gwdehaan May 12, 2019
04c5204
Cleanup and rename
gwdehaan May 13, 2019
59f7ddf
Removing ignored files
gwdehaan May 13, 2019
ab8211f
Cleanup and Rename
gwdehaan May 22, 2019
1bbcb81
gpio refactoring
gwdehaan May 22, 2019
36893c7
I2C Refactoring and final tests
gwdehaan May 25, 2019
0b67ff8
Cleanup srcArchive
gwdehaan May 25, 2019
d386ffa
I2C Refactoring and cleanup
gwdehaan May 25, 2019
6f95113
spi.py - adapted to new usbiss setup
gwdehaan May 27, 2019
ddeceaa
docs.md deleted
gwdehaan May 30, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
end_of_line = lf
[*.bat]
indent_style = tab
end_of_line = crlf
[LICENSE]
insert_final_newline = false
[Makefile]
indent_style = tab
# http://editorconfig.org

root = true

[*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
end_of_line = lf

[*.bat]
indent_style = tab
end_of_line = crlf

[LICENSE]
insert_final_newline = false

[Makefile]
indent_style = tab
30 changes: 15 additions & 15 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
* pyusbiss version:
* Python version:
* Operating System:
### Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
### What I Did
```
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
```
* pyusbiss version:
* Python version:
* Operating System:

### Description

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

### What I Did

```
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
```
129 changes: 70 additions & 59 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,59 +1,70 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
Scripts/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# GdH
.bat
.exe
.DLL
.ps1

# vsc
.vscode/
.code-workspace
132 changes: 132 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
.. highlight:: shell

============
Contributing
============

Contributions are welcome, and they are greatly appreciated! Every little bit
helps, and credit will always be given.

You can contribute in many ways:

Types of Contributions
----------------------

Report Bugs
~~~~~~~~~~~

Report bugs at https://github.com/DancingQuanta/pyusbiss/issues.

If you are reporting a bug, please include:

* Your operating system name and version.
* Any details about your local setup that might be helpful in troubleshooting.
* Detailed steps to reproduce the bug.

Fix Bugs
~~~~~~~~

Look through the GitHub issues for bugs. Anything tagged with "bug" and "help
wanted" is open to whoever wants to implement it.

Implement Features
~~~~~~~~~~~~~~~~~~

Look through the GitHub issues for features. Anything tagged with "enhancement"
and "help wanted" is open to whoever wants to implement it.

Write Documentation
~~~~~~~~~~~~~~~~~~~

pyusbiss could always use more documentation, whether as part of the
official pyusbiss docs, in docstrings, or even on the web in blog posts,
articles, and such.

Submit Feedback
~~~~~~~~~~~~~~~

The best way to send feedback is to file an issue at https://github.com/DancingQuanta/pyusbiss/issues.

If you are proposing a feature:

* Explain in detail how it would work.
* Keep the scope as narrow as possible, to make it easier to implement.
* Remember that this is a volunteer-driven project, and that contributions
are welcome :)

Get Started!
------------

Ready to contribute? Here's how to set up `pyusbiss` for local development.

1. Fork the `pyusbiss` repo on GitHub.
2. Clone your fork locally

::

$ git clone git@github.com:your_name_here/pyusbiss.git

3. Install your local copy into a virtualenv. Assuming you have
virtualenvwrapper installed, this is how you set up your fork for local
development

::

$ mkvirtualenv pyusbiss
$ cd pyusbiss/
$ python setup.py develop

4. Create a branch for local development

::

$ git checkout -b name-of-your-bugfix-or-feature

Now you can make your changes locally.

5. When you're done making changes, check that your changes pass flake8 and the
tests, including testing other Python versions with tox

::

$ flake8 uabiss tests
$ python setup.py test
$ tox

To get flake8 and tox, just pip install them into your virtualenv.

6. Commit your changes and push your branch to GitHub

::

$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature

7. Submit a pull request through the GitHub website.

Pull Request Guidelines
-----------------------

Before you submit a pull request, check that it meets these guidelines:

1. The pull request should include tests.
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.4, 3.5 and 3.6, and for PyPy.

Deploying
---------

A reminder for the maintainers on how to deploy.
Make sure all your changes are committed (including an entry in HISTORY.rst).
Then run

::

$ bumpversion patch # possible: major / minor / patch
$ git push
$ git push --tags

Travis will then deploy to PyPI if tests pass.
Loading