Skip to content

Commit

Permalink
Defining segments more in-line with how stuff is laid out in real life.
Browse files Browse the repository at this point in the history
  • Loading branch information
WesWedding committed Mar 3, 2024
1 parent 50a924f commit 3697e02
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Translation2024-Lights.ino
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@ Timeline state2;
Timeline state3;

// Define the "areas" on the strip that have specific animations.
#define STRIP_SEG1_START 0
#define STRIP_SEG1_END 5
#define STRIP_SEG2_START 7
#define STRIP_SEG2_END 12
#if defined(DEV_ENV)
#define STRIP_SEG1_START 0
#define STRIP_SEG1_END 5
#define STRIP_SEG2_START 7
#define STRIP_SEG2_END 12
#else
#define STRIP_SEG1_START 0
#define STRIP_SEG1_END 30
#define STRIP_SEG2_START 40
#define STRIP_SEG2_END 60
#endif


#include "StripSegments.h"
strip_segments stripSegments = {
Expand Down

0 comments on commit 3697e02

Please sign in to comment.