fordsfords / blink Goto Github PK
View Code? Open in Web Editor NEWCHIP program to blink status light and shut down when reset is briefly pressed
License: Other
CHIP program to blink status light and shut down when reset is briefly pressed
License: Other
Hi,
Using PocketCHIP, the reset button is also the home button whereby a brief press brings you back to the desktop. If you use blink, you can no longer return to the desktop without closing your foreground window.
Is there a way to configure a time delay into blink? i.e. if i press the button do nothing but if I hold it for 2sec that means graceful shutdown?
The service file produces a warning in syslog saying it doesn't recognize forks
. It should be forking
instead.
Jun 26 19:02:22 chip systemd[1]: [/etc/systemd/system/blink.service:6] Failed to parse service type, ignoring: forked
I'm using now kernel 4.4
the new version of blink now is now blinking furiously fast ... like five per second
Hi, i live your blink program. I want to report that i ecounter an unary operator expected from syslog.
Here:
Sep 6 09:26:05 chip blink.sh[363]: /usr/local/bin/blink.sh: line 169: [: 100: unary operator expected
Thanks
I'm using blink for 1 day and have noticed it's using almost 100% CPU in my CHIP. When i stop the service it drops back to 2% (with 40% peek). Is there anything that can be done?
(Great job! it works very well, besides the CPU consumption)
Is that possible to add a temperature monitor, using the "axp209 --temperature" command? Something like "when temperature is over a limit it set a GPIO to high".
We're using 'blink' on a custom ChipPro device (http://ainslies.net/?p=14307) so I modified it to meet our needs.
Changes are on my fork: https://github.com/hpeyerl/blink
Take what you want or I can issue pull requests if you like.
Title is about all there is to it. Is this a bug with 4.4 or am I doing something wrong? I put a hashtag on the default config's option for short presses before the line itself, and changed nothing else.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.