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

Driver for WS2812B LEDs #76

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
06f4d0a
Initial commit
Ic-ks Jun 28, 2017
3b2c280
Replaced bit pattern converting algorithm
Ic-ks Jun 28, 2017
8014560
Added comments, variable name refactoring, formatation
Ic-ks Aug 14, 2017
943c4ef
Merge branch 'original-master'
Ic-ks Aug 14, 2017
1a6e170
Added tests:
Ic-ks Aug 17, 2017
cc4546a
Added additional tests
Ic-ks Aug 21, 2017
66c2f1b
Using a map to cache and convert the bit patterns
Ic-ks Aug 28, 2017
1f8a673
Fixed warnings: Reduced all method scopes to the required minimum
Ic-ks Aug 28, 2017
6c40fb5
Replaced Storage interface of TwelveBitIntToBitPatternMapper.java
Ic-ks Aug 29, 2017
d5a8e97
Name refactoring and completion of ColorToBitPatternConverterTest.java
Ic-ks Aug 30, 2017
8414469
Updated README.md and ws2812b-timings.svg
Ic-ks Aug 30, 2017
35aeb68
Merge branch 'original-master'
Ic-ks Aug 30, 2017
52d14f2
Merge branch 'original-master'
Ic-ks Aug 30, 2017
899b21d
Merge remote-tracking branch 'origin/master'
Ic-ks Aug 30, 2017
9e2bb56
Update README.md
Ic-ks Aug 30, 2017
a7e3786
Updated SVGs
Ic-ks Aug 30, 2017
4b24e66
Merge remote-tracking branch 'origin/master'
Ic-ks Aug 30, 2017
c14727d
Update README.md
Ic-ks Aug 30, 2017
e4b45d9
Update README.md
Ic-ks Aug 30, 2017
9839ced
Update README.md
Ic-ks Sep 4, 2017
64bb7ae
Update README.md
Ic-ks Sep 5, 2017
2d21d5f
Updated compileSdkVersion, minSdkVersion, targetSdkVersion and buildT…
Ic-ks Sep 9, 2017
0bd5ba6
Updated support-annotations library to 26.1.0
Ic-ks Sep 17, 2017
64eabee
Update README.md
Ic-ks Sep 18, 2017
8bb4a72
Merge branch 'original-master'
Ic-ks Oct 9, 2017
dae568a
Update README.md
Ic-ks Oct 9, 2017
d567e9a
Update README.md
Ic-ks Oct 9, 2017
ed0eb24
Fixed a unit test bug and unit test refactoring
Ic-ks Oct 11, 2017
1fd826b
Merge remote-tracking branch 'origin/master'
Ic-ks Oct 11, 2017
0b687fc
Update README.md
Ic-ks Oct 12, 2017
6efc128
Update README.md
Ic-ks Oct 12, 2017
22bae36
Update README.md
Ic-ks Oct 13, 2017
6bee650
Update README.md
Ic-ks Oct 13, 2017
13c9221
Update README.md
Ic-ks Oct 13, 2017
c395031
Update README.md
Ic-ks Oct 13, 2017
bc23345
Improve README and SVG images.
bert2 Oct 15, 2017
34ccd6e
Merge pull request #2 from bert2/master
Ic-ks Oct 15, 2017
94dbdb9
Update README.md
Ic-ks Oct 15, 2017
4da9d60
Auto stash before merge of "master" and "origin/master"
Ic-ks Oct 15, 2017
3d10410
Updated buildToolsVersion
Ic-ks Oct 15, 2017
c582583
Downgrade of compileSdkVersion, buildToolsVersion, minSdkVersion to 24
Ic-ks Oct 15, 2017
7ef19f5
Merge branch 'androi-26-update'
Ic-ks Oct 15, 2017
bb7b936
Added and changed uses-library's android:required field in AndroidMa…
Ic-ks Nov 20, 2017
37d29b8
Changed scope of the ColorChannelSequence class to public to allow a …
Ic-ks Nov 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
Replaced timing SVG
  • Loading branch information
Ic-ks authored Aug 30, 2017
commit 9e2bb569aa66c52c66bd32e2000b13ebc9f1d891
4 changes: 2 additions & 2 deletions ws2812b/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ How does it work
The WS2812B LED controller needs 24 bits of data (8 bit per color channel) to set the color of one LED. Every further LED of a strip needs another 24 bit long data block. The transmission of these bits is done by sending a chain of high and low voltage pulses to the data line of the LED controller.
Each separate bit is hereby defined by a high voltage pulse which is followed by a low voltage pulse. Both pulses must have an exact specified duration, so that they are recognized as 1 or 0 bit:

<img src="https://rawgit.com/Ic-ks/readme-svg-test/master/ws2812b-timings.svg" width="100%" height="200">
<img src="https://rawgit.com/Ic-ks/contrib-drivers/master/ws2812b/ws2812b-timings.svg" width="100%" height="200">

* A 1 bit is defined by a high voltage pulse with a duration of 850 ns which is followed by a low voltage pulse of 400 ns
* A 0 bit is defined by a high voltage pulse with a duration of 400 ns which is followed by a low voltage pulse of 850 ns
Expand Down Expand Up @@ -40,4 +40,4 @@ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

[jcenter]: https://bintray.com/google/androidthings/contrib-driver-ws2812b/_latestVersion
[jcenter]: https://bintray.com/google/androidthings/contrib-driver-ws2812b/_latestVersion