I am new to arduino and was just doing the spaceship interface project.
My code is perfect and I think I have made the circuit right aswell but it is not working properly.When the switch is off the red light are blinking and the green light is also blinking but for only like 1 milli sec.
[Red LED 1(250 milli sec) , Red LED 2(250 milli sec), Green LED (1 milli sec)]
This is the pattern it is working like when I am not pressing the button.
And when I am pressing the button it just skips the flashing of the green light and the red lights keep blinking.
So it is working like it should while the button is pressed but it is not working like it should when the button is not being pressed.
Just did after reading this comment srry was very frustrated because it was not working so I hurriedly typed it without taking account of anything but the problem was resolve , it turned out to be my own mistake.....
@mustafa_syed Welcome
Most volunteers here are not aware of the Arduino Projects Book nor have a copy of it. If you require assistance in the future it would be very helpful for us if you include the code you are working with and an image of the schematic such as below