Skip to content

Commit

Permalink
chore: Rename from PFOC to Chaos
Browse files Browse the repository at this point in the history
  • Loading branch information
13rac1 committed Nov 1, 2018
1 parent 4ee1899 commit 66a6700
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/PFOC-LED-Belts.ino → src/LED-Belts.ino
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void setup() {

// Setup serial, no wait.
Serial.begin(115200);
Serial.println(F("PFOC-Belt Serial")); // F() stores string in Flash memory
Serial.println(F("Chaos Belt Serial")); // F() stores string in Flash memory
setBuckle(2, CRGB::Green);

// Start BLE
Expand Down
17 changes: 8 additions & 9 deletions src/beltConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ struct belt {

#define NUM_BELTS 8
belt belts[NUM_BELTS] = {
{0, 28, "AT+GAPDEVNAME=PFOC Red"}, // Confirmed length.
{16, 28, "AT+GAPDEVNAME=PFOC Orange"}, // Confirmed length.
{64, 28, "AT+GAPDEVNAME=PFOC Yellow"}, // Confirmed length.
{96, 26, "AT+GAPDEVNAME=PFOC Green"}, // Confirmed length.
{160, 26, "AT+GAPDEVNAME=PFOC Blue"}, // Confirmed length.
{192, 28, "AT+GAPDEVNAME=PFOC Purple"}, // Confirmed length.
{224, 24, "AT+GAPDEVNAME=PFOC Pink"}, // Confirmed length.
{192, 34,
"AT+GAPDEVNAME=PFOC White"}, // Confirmed length, no hue, special case
{0, 28, "AT+GAPDEVNAME=Chaos Red"},
{16, 28, "AT+GAPDEVNAME=Chaos Orange"},
{64, 28, "AT+GAPDEVNAME=Chaos Yellow"},
{96, 26, "AT+GAPDEVNAME=Chaos Green"},
{160, 26, "AT+GAPDEVNAME=Chaos Blue"},
{192, 28, "AT+GAPDEVNAME=Chaos Purple"},
{224, 24, "AT+GAPDEVNAME=Chaos Pink"},
{192, 34, "AT+GAPDEVNAME=Chaos White"}, // No hue, special case
};

#define BUCKLE_DATA_PIN 6
Expand Down

0 comments on commit 66a6700

Please sign in to comment.