Go Down

Topic: how to control iputs/outputs? (Read 727 times) previous topic - next topic



for my first project / intro to ardunio i would like to do the following,

monitor two switches when they are made make an output 1, and if either switch broken make another o/p 2 both monitored by an led.

cant really find an example in the learning section thats fits my project is there any other projects or learning sites that i can learn to achieve this ?

thank you


What you are asking to do is very trivial. However you seem to just want to find someone who has done this for you.
Look at the button examples, try and learn what each statement does.
You will need to use the if statement with two tests joined with a logic AND that is the && operator.
Read the referance section.


Mostly Grumpy_Mike is referencing :) You just have to work from there :)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131