Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Bian | 52 | 8 months ago | 1 | other | ||||||
The Banking Industry Architecture Network e.V. (BIAN) model in Archimate 3 | ||||||||||
Finflow | 6 | 4 years ago | mit | JavaScript | ||||||
Prototype dashboard for visualising personal spending data created in response to PSD2 regulations 📈 | ||||||||||
Mcp23017_lib | 2 | 6 years ago | gpl-3.0 | Python | ||||||
Easy to use library for the MCP23017 connected to a Raspberry Pi | ||||||||||
Groupproject | 2 | 3 years ago | JavaScript | |||||||
Team-2/Group-B Project: Quiz Application/Question Bank | ||||||||||
Atmsource | 2 | 3 years ago | Java | |||||||
Java_Group_project | ||||||||||
Databases Fall 2018 19 Lums | 1 | 4 years ago | HTML | |||||||
Our course project was a Blood Bank Management system. Back-end in SQL with front-end in Python Flask API. | ||||||||||
Edfc Bank Ltd. Financial System | 1 | a year ago | ||||||||
This repository includes different diagrams which have been used for creating the software named as "EDFC Bank Ltd. - Financial System". | ||||||||||
Designlabproject | 1 | 3 years ago | mit | Python | ||||||
Maven Credit Card Approval Decision System | ||||||||||
Bank Backend | 1 | 3 years ago | Java | |||||||
Simple bank backend | ||||||||||
Bank Database Sql 2020 | 1 | 3 years ago | mit | PLpgSQL | ||||||
Bank Database made in SQL |
Easy to use library for the MCP23017 connected to a Raspberry Pi.
i2c is required to be enabled in order to communicate with the chip. Also install these packages:
$ sudo apt-get install python-smbus i2c-tools
This library aims at being very similar to the RPi.GPIO library. At the moment it provides the following functions:
start(address)
: Starts the library on the specified chip address.
setup(pin, mode, pullupEnable)
: Writes direction (IN, OUT) to the specified pin. pullupEnable
enables the internal 100k pullup resistor. Optional, and only works when setting a pin as an input. Valid values are PUHIGH and PULOW.
output(pin, dir)
: Writes state (HIGH, LOW) to the specified pin.
input(pin)
: Reads and returns pin state (True, False)
puRead(bank)
: Reads and returns the pullup registers from both GPIO banks.
dirRead(bank)
: Reads and returns the direction registers from both GPIO banks.
latRead(bank)
: Reads and returns the latch registers from both GPIO banks.
Please refer to the image below for the pin mapping.
Pins are mapped according to this diagram:
This example will set pin #2 as an input, with the pullup resistor enabled and #1 as an output.
When the input goes high
, pin #1 will also go high.
import mcp23017_lib as MCP
MCP.start(0x26)
MCP.setup(2, MCP.IN, MCP.PUHIGH)
MCP.setup(1, MCP.OUT)
while 1:
if(MCP.input(2)):
MCP.output(1, MCP.HIGH)
else:
MCP.output(1, MCP.LOW)
Development:
Debugging: