Freyy
October 2, 2019, 9:58am
1
Hello, I need to create a program that lights up neopixels in different colors based on what time it is. So for example when the clock is 22:00 the neopixels that are around the clock will turn red. The clock is programmed in proteus.
How can I make the neopixel light up if an input on the arduino is receiving 5V?
PaulRB
October 2, 2019, 10:44am
2
You cannot program Arduino in Proteus, only C/C++
Did you have a question for the forum?
Freyy
October 2, 2019, 11:14am
3
The neopixel is going to be controlled by an arduino
PaulRB
October 2, 2019, 11:53am
4
Cool. So no questions then. Good luck with the project.
Freyy
October 2, 2019, 3:18pm
5
Im sorry, how can I make the neopixel light up if one input on the arduino is receiving 5V?
Freyy:
Im sorry, how can I make the neopixel light up if one input on the arduino is receiving 5V?
By typing in the words "arduino neopixel example" into your favorite search engine you can...
Freyy:
Im sorry, how can I make the neopixel light up if one input on the arduino is receiving 5V?
First you write code for lighting up a neopixel and turning it off, then add code that does that dependent on the state of an input.
PaulRB
October 2, 2019, 6:53pm
8
Freyy:
Im sorry, how can I make the neopixel light up if one input on the arduino is receiving 5V?
That's easy enough, but it's not what you want. You want to change the colour at different times.
What is the Proteus code running on and why do you not want to use that to change the led colour? Why not do it all with Arduino?