verylittlewire.device
Very Little Wire device module.
The module provides a Python interface to the Little Wire USB Multi-Tool developed by Ihsan Kehribar.
This file is a direct Python translation of the C/C++ library developed by Ihsan Kehribar <ihsan@kehribar.me> and Omer Kilic <omerkilic@gmail.com>. The C/C++ library was released under the same license. Adam Johnson did the translation based on the C/C++ library version 0.9 for Python 2. This new reimplementation is an effort to port the Python 2 translation to Python 3 and adapt the changes in the C/C++ library from version 0.9 to the latest version 1.2 or higher.
- license
MIT, see LICENSE for details.
Module Attributes
USB vendor identifier |
|
USB product identifier |
|
Mode identification number to set a GPIO pin as input. |
|
Mode identification number to set a GPIO pin as output. |
|
State identification number to set a GPIO pin to digital high level. |
|
State identification number to set a GPIO pin to digital low level. |
|
State identification number to enable internal pull-up resistor. |
|
State identification number to disable internal pull-up resistor. |
|
Real hardware port index of well known GPIO pin one (1). |
|
Real hardware port index of well known GPIO pin two (2). |
|
Real hardware port index of well known GPIO pin three (3). |
|
Real hardware port index of well known GPIO pin four (4). |
|
Voltage reference identification number to VUSB = 5000mV (USB plug). |
|
Voltage reference identification number to internal 1100mV. |
|
Voltage reference identification number to internal 2560mV. |
|
Real hardware ADC channel index on well known GPIO pin three (3). |
|
Real hardware ADC channel index on well known GPIO pin two (2). |
|
Real hardware ADC channel index on internal temperature sensor. |
|
Channel identification number to ADC channel zero (0), alias to ADC_PIN3. |
|
Channel identification number to ADC channel one (1), alias to ADC_PIN2. |
|
Channel identification number to ADC channel two (2), alias to ADC_TEMP_SENS. |
|
Prescaler value to achieve PWM base clock divided by 1024. |
|
Prescaler value to achieve PWM base clock divided by 256. |
|
Prescaler value to achieve PWM base clock divided by 64. |
|
Prescaler value to achieve PWM base clock divided by 8. |
|
Prescaler value to hold PWM base clock. |
|
Real hardware PWM channel index on well known GPIO pin four (4). |
|
Real hardware PWM channel index on well known GPIO pin one (1). |
|
Channel identification number to PWM channel A, alias to PWM_PIN4. |
|
Channel identification number to PWM channel B, alias to PWM_PIN1. |
|
Channel identification number to PWM channel zero (0), alias to channel A. |
|
Channel identification number to PWM channel one (1), alias to channel B. |
Classes
|
Class to control a LittleWire USB Multi-Tool. |