Add readme to neopixel

This commit is contained in:
Michal Moskal
2016-04-05 18:21:24 -07:00
parent 715771b991
commit 948b0ef304
4 changed files with 90 additions and 88 deletions

View File

@@ -39,7 +39,7 @@ namespace neopixel {
/**
* Shift LEDs forward.
*/
shift(off: number): void {
shift(off: number = 1): void {
this.buf.shift(-off * 3)
}