DesignSpark.Pmod¶


Python library to support using Pmods with a Raspberry Pi and the DesignSpark Pmod HAT.
Features include:
- Simple interfaces for supported Pmods
- Checking that Pmod and port capabilities match
- Checking for port usage conflicts
- Usage examples
Supported Pmods¶
The following modules are currently supported with the DesignSpark Raspberry Pi Pmod HAT:
- PmodACL2 3-axis Accelerometer
- PmodAD1 12-bit ADC
- PmodGPS GPS Module
- PmodHB3 2A H-bridge Driver
- PmodISNS20 20A Current Sensor
- PmodKYPD 16-Button Keypad
- PmodLS1 Line Follower Sensor Interface
- PmodMIC3 MEMS Microphone Module
- PmodOLEDrgb 96x64 RGB OLED Display 1
- PmodSWT Four Slides Switches
- PmodTC1 K Type Thermocouple Module with Wire
- PmodACL2 3-axis Accelerometer
- PmodGPS GPS Satellite Receiver
- PmodKYPD 16-Button Keypad
- PmodLS1 Line Follower Sensor
- PmodSWT Four Slides Switches
1 Builds on the excellent luma.oled and luma.core libraries from Richard Hull and contributors.
Installation¶
DesignSpark.Pmod can be installed from PyPi using pip. See the documentation for details.
Documentation¶
Installation and API documentation, along with examples, can be found at:
http://designspark-pmod.readthedocs.io
For Pmod HAT documentation, including the reference manual and schematic, see:
https://reference.digilentinc.com/reference/add-ons/pmod-hat/start
Table of Contents¶
Change log¶
Version | Description | Date |
---|---|---|
0.3.0 |
|
26/02/20 |
0.2.0 |
|
28/11/17 |
0.1.0 |
|
26/11/17 |
The MIT License (MIT)¶
Copyright (c) 2017 RS Components Ltd
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.