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
Wendy Bell Radio
5 hours agoPoint Blank Hate
5,593 watching -
LIVE
iCkEdMeL
59 minutes ago🔴 BOMBSHELL: DC Shooter Worked With CIA-Backed Unit in Afghanistan, Officials Say
486 watching -
30:15
DeVory Darkins
9 hours agoTrump drops NIGHTMARE NEWS for Afghan refugees after National Guard Shooter is identified
130K147 -
LIVE
Lofi Girl
3 years agolofi hip hop radio 📚 - beats to relax/study to
383 watching -
23:47
James Klüg
1 day agoAnti-Trumpers SNAP When I Arrive
17.2K27 -
LIVE
FyrBorne
4 hours ago🔴Battlefield REDSEC Live M&K Gameplay: Turkey'ing Day
146 watching -
31:27
MetatronCore
1 day agoAsmongold Annihilated Kyle Kulinski
37.2K15 -
3:05:50
ytcBUBBLESBOOM
3 hours ago😥Can I just get this Battle Pass Done Now!! Live with Bubbles on Rumble 💚😋
8.77K2 -
LIVE
Midnight In The Mountainsâ„¢
2 hours agoMorning Coffee w/ Midnight & The Early Birds of Rumble | Happy ThanksGiving Stream | Long Live Rum!
193 watching -
1:02:57
ZeeeMedia
21 hours agoVaccines, Transhumanism & the Hidden Agenda ft. Dr. Suzanne Humphries | Daily Pulse Ep 152
26.1K55