Comments (6)
I've noticed at least on the handful of blink(1)mk2s that I have that it doesn't appear to save the pattern. If I run play 1 I get the same default pattern every time.
Basic steps are:
- Connect a single blink(1)mk2
- Enter several setpattlines
a. blink1-tool --setpattline -m 550 0xff,0x00,0x00,0
b. blink1-tool --setpattline -m 550 0x00,0x00,0x00,1 - Save the pattern (blink1-tool --savepattern
- Play sequence (blink1-tool --play 1)
from blink1.
Ahh, it looks like you might have run afoul of some old documentation. Where did you find that style for setpattline?
The invocation of setpattline changed in blink1-tool several months ago, and I might not have caught all references to it.
Try this:
blink1-tool -m 550 --rgb 255,255,0 --setpattline 0
blink1-tool -m 550 --rgb 0,255,255 --setpattline 1
blink1-tool --getpattline 0 # should return what you expect
blink1-tool --getpattline 1 # should return what you expect
blink1-tool --savepattern
# unplug blink1 device, plug back in
blink1-tool --getpattline 0
blink1-tool --getpattline 1
blink1-tool --play 1
from blink1.
Also check out this page for other tricks:
https://github.com/todbot/blink1/blob/master/docs/blink1-mk2-tricks.md
from blink1.
Ah ok. I was basing it off the test scripts in command line directory in the repo. I figured since it had a comment about the save pattern command for the mk2 that it was the correct syntax.
If there isn't going to be a man page with blink1-tool, can an example of the correct syntax for each switch be added to the usage/help text?
On Jun 19, 2014, at 7:20 PM, Tod E. Kurt [email protected] wrote:
Also check out this page for other tricks:
https://github.com/todbot/blink1/blob/master/docs/blink1-mk2-tricks.md—
Reply to this email directly or view it on GitHub.
from blink1.
Ahh, right, that's where it's coming from. Thanks!
And yeah a manpage would be good. I'll add it as an issue:
#96
from blink1.
test scripts updated.
and blink1-tool error reporting on --savepattern fixed in source (not in a built release yet tho)
from blink1.
Related Issues (20)
- "certificate has expired" HOT 1
- How to send POST or GET to control blink(1)? HOT 4
- Some notes regarding blink(1) mk3 powered by Mac keyboard USB hub HOT 1
- Failed to compile the blink1mk2 firmware HOT 2
- Cannot Add Pattern with API HOT 1
- blink1control2 can't find device HOT 3
- cannot install as directory blink1/commandline does not exist
- how can i upgrade the firmware?
- What's the `Set ledn` for? HOT 1
- Availability and Status of blink(1) product in Far East HOT 2
- FeatureReportByteLength of blink(1) is 9 instead of 8 HOT 3
- confusing ledn definition for read current color cmd
- what's `Test command format: { 1, '!', 0,0,0, 0,0, 0 }` and how to use it?
- Differentiating between blink(1) Devices (mk1, mk2, mk3) in a C++ Application
- Inconsistent Position Definition for Serverdown Tickle and PlayLoop HOT 2
- Fail to Set Individual LED RGB Color (command: 'n') for mk2 Devices HOT 1
- blink1-tool folder in openwrt is empty HOT 1
- Question about blink(1) durability with high speed color cycling? HOT 1
- Concurrent HID Instructions - Any Issues? HOT 1
- Issue with 'W' Command "Save color patterns" on blink(1) device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blink1.