Skip to main content

A python API for control of the front LEDs of Intel NUC7i[x]BN and NUC6CAY NUCs.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nuc_led-0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nuc_led-0.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file nuc_led-0.2.tar.gz.

File metadata

  • Download URL: nuc_led-0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for nuc_led-0.2.tar.gz
Algorithm Hash digest
SHA256 b416a7f1a755e0462bd7f55b29bdab4e8dfb4ab7fb0bc9421678190a2554007b
MD5 83a14161ae2af69872c7f3100fbfc0a5
BLAKE2b-256 3fb9b927ec598ebff3fd99b6c2fbe866c46f45767d04ba6d6c988b165403391b

See more details on using hashes here.

File details

Details for the file nuc_led-0.2-py3-none-any.whl.

File metadata

  • Download URL: nuc_led-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for nuc_led-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 68a0d2d1c0791bc872bcda72483f08c546b35b91a89aacc1742fae6e319bdc7e
MD5 e636cabc4cf07b823fff26394d0dd6e2
BLAKE2b-256 412320783aa3c827b999f5e2baaa6f7c0f1b061126fa453a07cf46d9b04e51fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page