blink1-python icon indicating copy to clipboard operation
blink1-python copied to clipboard

Cannot access play/stop, color pattern functions of blink(1)

Open todbot opened this issue 7 years ago • 1 comments

Like the blink1-tool commands:

  • --play
  • --stop
  • --setpattline
  • --getpattline
  • --savepattern
  • --readpattern
  • --playpattern

todbot avatar Apr 21 '18 00:04 todbot

Hey,

internal methods could be used by exploring blink1.py but that kind of approach is never a good idea.

I integrated this library to a project and need to run Blink(1) in static and pulsate mode.

  • We have the play() and stop() methods
  • We have readPattern() and savePattern()

As of missing clearPattern() or savePattern(pattern) or play(pattern):

  • We can just append new values to the existing pattern
  • We can't create and play new pattern

I tried to understand the internal write(buffer) stuff but did not found a solution.

Please extend this library or let me know if you need a helpful hand.

henryruhs avatar Jul 10 '19 11:07 henryruhs