Hey guys,
So I am working on a project where a red led is always on, until a button is pressed. When the button is pressed a green led turns on and the red one turns off until the button is released. Can i get some help with wiring and code? Thanks guys!
This is Electronics and Programming 101.
Very basic usage. Please show you have at least tried to do it yourself.
Weedpharma
Is this homework?
there are examples in the base program.
we typically do not write programs for people. however, once you tried and failed, we will walk you through your mistakes.
that is often the best way for you to learn.
give a man a fish, he keeps comming back for free fish.
teach a man to fish and then you will find out if is will give away free fish.