This repository has been archived by the owner on Sep 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
* PixelInvaders serial-led-gateway v2.0, Copyright (C) 2011-2013 michael vogt <[email protected]> | ||
* Tested on Teensy and Arduino. | ||
* | ||
* THIS FIRMWARE IS UNTESTED! please give me feedback if it works! | ||
* | ||
* ------------------------------------------------------------------------ | ||
* | ||
|
@@ -190,8 +189,7 @@ void updatePixels() { | |
|
||
for (uint8_t i=0; i < nrOfPixels; i++) { | ||
uint32_t color = convert15bitTo24bit(packetBuffer[ofs]<<8 | packetBuffer[ofs+1]); | ||
leds[ledOffset++] = CRGB(color); | ||
// leds[ledOffset++] = color; | ||
leds[ledOffset++] = CRGB(color); | ||
ofs+=2; | ||
} | ||
|
||
|