Pages: [1]   Go Down
Author Topic: how to control iputs/outputs?  (Read 565 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
Karma: 0
Posts: 314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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

Manchester (England England)
Online Online
Brattain Member
Karma: 626
Posts: 34128
Solder is electric glue
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Offline Offline
Full Member
Karma: 0
Posts: 160
Arduino, Helps With the ADD
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Mostly Grumpy_Mike is referencing smiley You just have to work from there smiley

Pages: [1]   Go Up
Jump to: