Home
»Unlabelled
» Arduino I/O Example
int ledPin = 13;
void setup() {
// Set the digital pin as output:
pinMode(ledPin, OUTPUT);
}
void loop()
{
// Bring the pin high (1)
digitalWrite(ledPin, HIGH);
}
Disclaimer: All the information in this blog is just gathered from different sites in the web and placed here and I am not the owner for these content
Popular Projects
-
I just recently talked about me starting a saltwater reef aquarium. A lot of time and money goes into starting such a device, and the reward...
-
intro Arduino EMF (Electromagnetic Field) Detector A while back I saw an EMF (Electromagnetic Field) Detector at makezine.com that used a le...
-
intro Temperature Control For Kitchen Appliances In this Instructable, I will step through controlling the temperature of most kitchen appli...
-
intro Logger Shield: Datalogging for Arduino Data logging shield Here's a handy Arduino shield: we've had a lot of people looking fo...
-
intro Arduino Home automation This is a relatively simple controller for controlling equipment in your home. At the moment I control my cent...
-
int switchPin = 2; // switch input int motor1Pin1 = 3; // pin 2 on L293D int motor1Pin2 = 4; // pin 7 on L293D int enablePin = 9; ...