Premium Only Content

Digital Flare Part 3 Programming
The angled brackets aren't allowed on YouTube coments. There are notes on the lines to fix them:
- fix this line #include (here)Adafruit_NeoPixel.h(here)
#define PIN 6
#define pix 28
Adafruit_NeoPixel strip = Adafruit_NeoPixel(pix, PIN, NEO_GRB + NEO_KHZ800);
#define yellow 200,55,0
#define off 0,0,0
void setup() {
pinMode(8,INPUT_PULLUP);
pinMode(9,INPUT_PULLUP);
strip.begin();
strip.show();
- (less than) for(int a=0;a(here)pix;a++){
strip.setPixelColor(a,yellow);
strip.show();
delay(35);
strip.setPixelColor(a,off);
}
strip.show();
}
int pgm;
int spd=10;
int pixel;
int bright;
long unsigned timer=millis();
void loop() {
if(pgm==0){
strip.setPixelColor(pixel,off);
pixel++;
pixel%=pix;
strip.setPixelColor(pixel,yellow);
strip.show();
}
if(pgm==1){
- (less than) for(int a=0;a(here)pix;a++){
if(bright){strip.setPixelColor(a,yellow);}
if(!bright){strip.setPixelColor(a,off);}
}
strip.show();
bright=!bright;
}
if(pgm==2){
- (less than) for(int a=0;a(here)pix;a++){
if(bright){strip.setPixelColor(a,255,0,0);}
if(!bright){strip.setPixelColor(a,0,0,255);}
}
strip.show();
bright=!bright;
}
fix this line (less than) while(millis()(here)timer){
if(!digitalRead(8)){
pgm++;
pgm%=3;
delay(2);
while(!digitalRead(8)){}
delay(2);
}
if(!digitalRead(9)){
spd+=25;
fix this line (More than) if(spd(here)150){spd=10;}
delay(2);
while(!digitalRead(9)){}
delay(2);
}
}
timer+=spd;
}
-
LIVE
Badlands Media
8 hours agoDevolution Power Hour Ep. 390 - Political Warfare, Jimmy Kimmel & ANTIFA
11,205 watching -
2:43:56
TimcastIRL
3 hours agoJimmy Kimmel FIRED, ABC Pulls Show Over Charlie Kirk Assassination Comments | Timcast IRL
319K163 -
1:58:02
Barry Cunningham
4 hours agoJIMMY KIMMEL CANCELLED | OBAMA IS WHINING! | JD VANCE ON JESSE WATTERS!
54.4K78 -
2:34:46
TheSaltyCracker
4 hours agoWe Got Him Fired ReeEEStream 9-17-25
87.5K261 -
43:44
Man in America
6 hours agoAmericans Are About to Lose Everything—And They Don’t Even Know It
10.1K8 -
LIVE
Adam Does Movies
2 days ago $0.02 earnedTalking Movies + Ask Me Anything - LIVE
203 watching -
LIVE
I_Came_With_Fire_Podcast
12 hours agoNASA Blocks China, TPUSA BOOSTED, Chinese Spamoflauge, & Factional Division
188 watching -
33:40
Jamie Kennedy
4 hours agoEp 222 Processing the Loss of Charlie Kirk | HTBITY with Jamie Kennedy
16.9K9 -
1:32:05
Badlands Media
19 hours agoAltered State S3 Ep. 46: Tactical Nukes, Thermite, and the 9/11 Puzzle
34.9K5 -
9:18
ARFCOM News
9 hours ago $0.85 earnedNSSF "Celebrates" ATF Partnership | Glocks BANNED | Redundant Spooky Boi Ban
16.6K8