Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Henderson <[email protected]>
  • Loading branch information
joshua-henderson committed Feb 28, 2018
0 parents commit bb6d6a3
Show file tree
Hide file tree
Showing 28 changed files with 6,500 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
__pycache__
*.pyc
*.egg*
dist
build
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions LICENSE.MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) <2013-2017> <Colin Duquesnoy>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
7 changes: 7 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include README.md
include LICENSE
include LICENSE.MIT
include Makefile
include pylintrc
include iocontrol/*.ui
include iocontrol/*.qss
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
PYTHON=$(shell which python)

LINT_FILES = $(wildcard iocontrol/*.py)

LINT_FILES := $(filter-out iocontrol/pyqt_style_rc.py \
iocontrol/pyqt5_style_rc.py, \
$(LINT_FILES))

.PHONY: clean wheel source pylint

all: wheel

pylint:
pylint --reports=n $(LINT_FILES)

source:
$(PYTHON) setup.py sdist

wheel: source
$(PYTHON) setup.py bdist_wheel

clean:
rm -f *.pyc iocontrol/*.pyc
rm -rf dist build iocontrol.egg-info
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
![Microchip](docs/_static/microchip_logo.png)

# Microchip I/O Control Application

This application is a graphical application to analyze and manipulate hardware
peripherals using the Microchip Peripheral I/O (MPIO) package.


## Supported Interfaces

* ADC - Analog-to-Digital Converter
* GPIO - General Purpose I/O
* Input - Input Subsystem (Mouse/Keyboard/Touchscreen)
* LED - Light Emitting Diode Light Sources
* PWM - Pulse Width Modulation


## Installation

You can install from PyPi by default with:

pip install iocontrol

## License

The iocontrol application is released under the terms of the `GPLv3`
or later license and its QDarkStyleSheet theme is `MIT`.
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_build
Empty file added docs/_static/.keep
Empty file.
Binary file added docs/_static/microchip_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/adc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/gpio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/led.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions iocontrol/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# I/O Control Demo Application
#
# Copyright (C) 2017 Microchip Technology Inc. All rights reserved.
# Joshua Henderson <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

__version__ = "1.0"
22 changes: 22 additions & 0 deletions iocontrol/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# I/O Control Application
#
# Copyright (C) 2017 Microchip Technology Inc. All rights reserved.
# Joshua Henderson <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

from . import iocontrol
iocontrol.main()
Loading

0 comments on commit bb6d6a3

Please sign in to comment.