Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
545 views

Arduino fade in/out 5 leds circuit acting wierd

I have a simple arduino project with 5 leds, the project should start with led 1 fade through 50 millisec to reach full brightness, then led 2 and so on until led 5 then turn them all off and loop. ...
AhmedH2O's user avatar
  • 123
5 votes
3 answers
2k views

How do I make another action repeat inside a loop?

So, I've just started programming Arduino (and also in general), so I'm doing basic things, like switching on and off LED's. I've made them light in a sequence and then turning them off (in the same ...
AndreFro's user avatar
2 votes
0 answers
55 views

Two LED Patterns Task Controlled by GUI

I am very new to Arduino and coding/programing. I set a task for myself to make a simple circuit of 5 LEDs controlled by pins 2, 4, 8, 11, 12. I want to be able to make two different pattern for the ...
Tayler Hasson's user avatar
0 votes
1 answer
10k views

Blink LED 5 times with for loop

Is it possible to let a LED blink, for example 5 times, with an Arduino? Should I use a for loop? Something like this works in setup, but it will run continuously in the void loop, so my LED keeps ...
Niles's user avatar
  • 123
2 votes
1 answer
48 views

LED dimmer not fading out

I'm trying to make an LED go from no brightness to max and back down on a loop and I've encountered a problem I can't seem to crack. The LED will go to maximum brightness steadily as it should but ...
ThisUsernameHasBeenTaken's user avatar
-1 votes
2 answers
522 views

I need help makeing a light flash while a stepper is constantly moving

The starter code. #include <Stepper.h> const int stepsPerRevolution = 120; // change this to fit the number // for your motor of steps per revolution // initialize the stepper library on ...
dakota's user avatar
  • 3
0 votes
1 answer
35 views

Variable that holds the users input doesn't empty itself, so the program only works once

This code seems to function, but only works once before I need to press the reset button. Otherwise, it repeats the same error message. It might have something to do with emptying the String variable. ...
Maitland's user avatar