Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neizod/lollipop-led
LG Lollipop (GD580) front light LED hack.
https://github.com/neizod/lollipop-led
Last synced: about 1 month ago
JSON representation
LG Lollipop (GD580) front light LED hack.
- Host: GitHub
- URL: https://github.com/neizod/lollipop-led
- Owner: neizod
- Created: 2012-10-09T14:49:44.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-06-06T17:17:31.000Z (over 4 years ago)
- Last Synced: 2023-03-12T07:48:31.014Z (over 1 year ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ancient project since my very 1st day of programming.
This project is freezed and I'm no longer support for any bug fix.
Usage
=====Main program is `MergeLollipop.java`, compile it and run.
You'll need pre-animated many short `*.mlf` files to concat them all together.
File Analysis
=============Lollipop LED file name is `*.mlf`. There are 2 parts in this file.
Header
------LED file begins with set of 6 numbers, which is in form:
? effect frames ? width height
for example:
1 0 10 8211 7 15
each args meaning and values range:
? unknown arg 1
effect builtins effect 0 to 6 (frames must be 1 if effect != 0)
frames no. of frames 1 to 10 (default) / hacked to int upper bound
? unknown arg 8211
width led matrix width 7
height led matrix height 15I do guess the 4th arg stand for phone's model.
also width and height is 7x15 for GD580 (I heard this numbers maybe vary).Body
----Body part contains each LED light status, line by line from upper left to lower right. No such spaces or newline (or any others character) seperated between each line of LED or animation frame.
The possible value (brightness of each LED) are:
0 16 32 48 64 80 96 112
I don't remember exactly if the frames arg (from header part) is the indicate for how many frames in file, or you can just ignore it and only append LED animation.
License
=======WTFPL v2.0 - neizod (C) 2010