blinkstick

package module
v0.0.0-...-18e1c4d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2023 License: ISC Imports: 4 Imported by: 0

README

BlinkStick

Go interface to blinkstick

Documentation

Overview

Package blinckstick implements BlinkStick Stripe HID interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Off

func Off(w io.Writer, n int) error

Off all n LEDs

func Open

func Open() (io.WriteCloser, error)

Open blinkstick device

func Set

func Set(w io.Writer, colors ...color.Color) error

Set 0 to 64 colors

func SetAll

func SetAll(w io.Writer, n int, c color.Color) error

SetAll sets all n LEDs to same color

func SetIndex

func SetIndex(w io.Writer, i int, c color.Color) error

SetIndex sets color by index

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL