LED

img
This example requires an ethernet shield and an LED connected to pin 6. Copy the code into a new sketch and upload it to your arduino and then open your web browser to http://192.168.1.177   Code [c] #include <SPI.h> #include <Ethernet.h> #include <Servo.h> Servo myservo; ...

Connect an LED to digital pin 3 Code [c] void setup() { pinMode(3, OUTPUT); } void loop() { for (int a = 0 ; a < 256 ; a++) {.

The ability to flash an LED is the most basic 'hello world' type of program you can write and run on your arduino. Most Arduino's have an LED attached to.

This div height required for enabling the sticky sidebar
Ad Clicks : Ad Views : Ad Clicks : Ad Views :