Skip to content

Commit

Permalink
revert use of setBufferMode
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed May 21, 2020
1 parent 0bec657 commit 5d93783
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neopixel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ namespace neopixel {
//% weight=79
//% parts="neopixel"
show() {
ws2812b.setBufferMode(this.pin, this._mode);
// only supported in beta
// ws2812b.setBufferMode(this.pin, this._mode);
ws2812b.sendBuffer(this.buf, this.pin);
}

Expand Down

0 comments on commit 5d93783

Please sign in to comment.