Intel NUC7i[x]BN and NUC6CAY LED Control
This is a simple python library for ease of integration and use of the kernel module here (forked from original work by milesp20) designed for Intel NUC7i[x]BN and NUC6CAY kits.
Usage
This library exposes two classes RingLED and PowerLED to represent the two leds on the NUC which have methods to control their brightness, color and style.
Brightness:
LED brightness may be set using the set_brightness(level) method where level may take any integer value between 0 and 100
Colour:
LED color may be set using the set_color(new_color) where new_color may take the values in the following table
| LED Color | power | ring |
|---|---|---|
| amber | X | |
| cyan | X | |
| blue | X | X |
| green | X | |
| off | X | X |
| pink | X | |
| red | X | |
| white | X | |
| yellow | X |
Style:
LED style may be set using the set_style(option) where option may take the values in the following table
| Blink/Fade Option | Description |
|---|---|
| blink_fast | 1Hz blink |
| blink_medium | 0.5Hz blink |
| blink_slow | 0.25Hz blink |
| fade_fast | 1Hz blink |
| fade_medium | 0.5Hz blink |
| fade_slow | 0.25Hz blink |
| none | solid/always on |
Metadata
Release files for nuc-led 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nuc_led-0.2.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nuc_led-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / nuc_led-0.2.tar.gz
| Download URL | nuc_led-0.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b416a7f1a755e0462bd7f55b29bdab4e8dfb4ab7fb0bc9421678190a2554007b
|
|
BLAKE2b-256 checksum How to use checksums |
3fb9b927ec598ebff3fd99b6c2fbe866c46f45767d04ba6d6c988b165403391b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / nuc_led-0.2-py3-none-any.whl
| Download URL | nuc_led-0.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68a0d2d1c0791bc872bcda72483f08c546b35b91a89aacc1742fae6e319bdc7e
|
|
BLAKE2b-256 checksum How to use checksums |
412320783aa3c827b999f5e2baaa6f7c0f1b061126fa453a07cf46d9b04e51fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|