Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
todbot opened this issue Apr 21, 2018 · 1 comment
Open

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

todbot opened this issue Apr 21, 2018 · 1 comment

Comments

@todbot
Copy link
Owner

todbot commented Apr 21, 2018

Like the blink1-tool commands:

  • --play
  • --stop
  • --setpattline
  • --getpattline
  • --savepattern
  • --readpattern
  • --playpattern
@henryruhs
Copy link

henryruhs commented Jul 10, 2019

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.

todbot added a commit that referenced this issue Jul 18, 2019
…(not indicating if commands fail), and some refactoring, and some documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants