SlideShare ist ein Scribd-Unternehmen logo
1 von 46
Downloaden Sie, um offline zu lesen
void setup() {
  // initialize the digital pin as an output.
  // Pin 13 has an LED connected on most Arduino boards:
  pinMode(13, OUTPUT);
}

void loop() {
  digitalWrite(13, HIGH);   //   set the LED on
  delay(1000);              //   wait for a second
  digitalWrite(13, LOW);    //   set the LED off
  delay(1000);              //   wait for a second
}
void setup() {
  // initialize the digital pin as an output.
  // Pin 13 has an LED connected on most Arduino boards:
  pinMode(13, OUTPUT);
}

void loop() {
  digitalWrite(13, HIGH);   //   set the LED on
  delay(1000);              //   wait for a second
  digitalWrite(13, LOW);    //   set the LED off
  delay(1000);              //   wait for a second
}
int brightness = 0;
int fadeAmount = 5;

void setup() {
  pinMode(9, OUTPUT);
}

void loop() {
  // set the brightness of pin 9:
  analogWrite(9, brightness);

    brightness = brightness + fadeAmount;

    if (brightness == 0 || brightness == 255) {
      fadeAmount = -fadeAmount ;
    }

    delay(30);
}
const int buttonPin = 2;
const int ledPin = 13;

int buttonState = 0;

void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(buttonPin, INPUT);
}

void loop(){
  // read the state of the pushbutton value:
  buttonState = digitalRead(buttonPin);

    if (buttonState == HIGH) {
      digitalWrite(ledPin, HIGH);
    }
    else {
      digitalWrite(ledPin, LOW);
    }
}
const int sensorPin = A0;
const int ledPin = 9;

void setup() {
  pinMode(ledPin, OUTPUT);
}

void loop() {
  // read the value from the sensor:
  int sensorValue = analogRead(sensorPin);

    // scale from 0-1023 to 0-255
    int intensity = map(sensorValue, 0, 1023, 0, 255);

    // sets the value
    analogWrite(ledPin, intensity);
}
const int ledPin = 9;

void setup() {
  // initialize the serial communication:
  Serial.begin(9600);

    pinMode(ledPin, OUTPUT);
}

void loop() {
  byte brightness;

    // check if data has been sent from the computer:
    if (Serial.available()) {
      // read the most recent byte (0-255)
      brightness = Serial.read();

        // set the brightness of the LED:
        analogWrite(ledPin, brightness);
    }
}
import processing.serial.*;

Serial port;

void setup() {
  size(256, 150);

    // Print available serial ports
    println(Serial.list());

    port = new Serial(this, "COM1", 9600);
}

void draw() {
  // draw a gradient from black to white
  ...

    // send the current X-position of the mouse
    port.write(mouseX);
}
Arduino Workshop 2011.05.31

Weitere Àhnliche Inhalte

Was ist angesagt?

Experimentdsd[1]
Experimentdsd[1]Experimentdsd[1]
Experimentdsd[1]
Jash Panchal
 
Experiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesExperiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gates
Ricardo Castro
 
Temperature Sensor with LED matrix Display BY â–șiRFAN QADOOS◄ 9
Temperature Sensor with LED matrix Display BY â–șiRFAN QADOOS◄ 9Temperature Sensor with LED matrix Display BY â–șiRFAN QADOOS◄ 9
Temperature Sensor with LED matrix Display BY â–șiRFAN QADOOS◄ 9
Irfan Qadoos
 
Getting Started With Raspberry Pi - UCSD 2013
Getting Started With Raspberry Pi - UCSD 2013Getting Started With Raspberry Pi - UCSD 2013
Getting Started With Raspberry Pi - UCSD 2013
Tom Paulus
 

Was ist angesagt? (20)

Arduino Workshop Day 2
Arduino  Workshop Day 2Arduino  Workshop Day 2
Arduino Workshop Day 2
 
Cassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshopCassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshop
 
Aurduino coding for transformer interfacing
Aurduino coding for transformer interfacingAurduino coding for transformer interfacing
Aurduino coding for transformer interfacing
 
Scottish Ruby Conference 2010 Arduino, Ruby RAD
Scottish Ruby Conference 2010 Arduino, Ruby RADScottish Ruby Conference 2010 Arduino, Ruby RAD
Scottish Ruby Conference 2010 Arduino, Ruby RAD
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 Presentation
 
DSL Junior Makers - electronics workshop
DSL Junior Makers - electronics workshopDSL Junior Makers - electronics workshop
DSL Junior Makers - electronics workshop
 
Arduino 8-step drum sequencer 3 channels
Arduino 8-step drum sequencer 3 channelsArduino 8-step drum sequencer 3 channels
Arduino 8-step drum sequencer 3 channels
 
arduino
arduinoarduino
arduino
 
Experimentdsd[1]
Experimentdsd[1]Experimentdsd[1]
Experimentdsd[1]
 
Chap 3
Chap 3Chap 3
Chap 3
 
Task i
Task iTask i
Task i
 
Experiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesExperiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gates
 
VERILOG CODE
VERILOG CODEVERILOG CODE
VERILOG CODE
 
Temperature Sensor with LED matrix Display BY â–șiRFAN QADOOS◄ 9
Temperature Sensor with LED matrix Display BY â–șiRFAN QADOOS◄ 9Temperature Sensor with LED matrix Display BY â–șiRFAN QADOOS◄ 9
Temperature Sensor with LED matrix Display BY â–șiRFAN QADOOS◄ 9
 
Digital system design lab manual
Digital system design lab manualDigital system design lab manual
Digital system design lab manual
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Temperature sensor with a led matrix display (arduino controlled)
Temperature sensor with a led matrix display (arduino controlled)Temperature sensor with a led matrix display (arduino controlled)
Temperature sensor with a led matrix display (arduino controlled)
 
Logical Gates
Logical GatesLogical Gates
Logical Gates
 
Getting Started With Raspberry Pi - UCSD 2013
Getting Started With Raspberry Pi - UCSD 2013Getting Started With Raspberry Pi - UCSD 2013
Getting Started With Raspberry Pi - UCSD 2013
 
Up and running with Teensy 3.1
Up and running with Teensy 3.1Up and running with Teensy 3.1
Up and running with Teensy 3.1
 

Andere mochten auch

111125 ă‚‚ăźă„ăă‚Šă‚ȘăƒŒăƒ—ăƒłăƒĄă‚œăƒƒăƒ‰iamas・ćČé˜œé«˜ć°‚é€ŁæșèŹ›ćș§ takawo
111125 ă‚‚ăźă„ăă‚Šă‚ȘăƒŒăƒ—ăƒłăƒĄă‚œăƒƒăƒ‰iamas・ćČé˜œé«˜ć°‚é€ŁæșèŹ›ćș§ takawo111125 ă‚‚ăźă„ăă‚Šă‚ȘăƒŒăƒ—ăƒłăƒĄă‚œăƒƒăƒ‰iamas・ćČé˜œé«˜ć°‚é€ŁæșèŹ›ćș§ takawo
111125 ă‚‚ăźă„ăă‚Šă‚ȘăƒŒăƒ—ăƒłăƒĄă‚œăƒƒăƒ‰iamas・ćČé˜œé«˜ć°‚é€ŁæșèŹ›ćș§ takawo
takawo shunsuke
 
IAMAS 2010 First presentation
IAMAS 2010 First presentationIAMAS 2010 First presentation
IAMAS 2010 First presentation
ocrock
 
IAMAS Innovation Studio Opening 2013.04.19
IAMAS Innovation Studio Opening 2013.04.19IAMAS Innovation Studio Opening 2013.04.19
IAMAS Innovation Studio Opening 2013.04.19
Shigeru Kobayashi
 

Andere mochten auch (12)

ćčłæˆ23ćčŽćșŠăƒĄăƒ‡ă‚Łă‚ąèŠžèĄ“郚門䌚議
ćčłæˆ23ćčŽćșŠăƒĄăƒ‡ă‚Łă‚ąèŠžèĄ“郚門䌚議ćčłæˆ23ćčŽćșŠăƒĄăƒ‡ă‚Łă‚ąèŠžèĄ“郚門䌚議
ćčłæˆ23ćčŽćșŠăƒĄăƒ‡ă‚Łă‚ąèŠžèĄ“郚門䌚議
 
Make:r × Maker - 0th Exhibition
Make:r × Maker - 0th ExhibitionMake:r × Maker - 0th Exhibition
Make:r × Maker - 0th Exhibition
 
111125 ă‚‚ăźă„ăă‚Šă‚ȘăƒŒăƒ—ăƒłăƒĄă‚œăƒƒăƒ‰iamas・ćČé˜œé«˜ć°‚é€ŁæșèŹ›ćș§ takawo
111125 ă‚‚ăźă„ăă‚Šă‚ȘăƒŒăƒ—ăƒłăƒĄă‚œăƒƒăƒ‰iamas・ćČé˜œé«˜ć°‚é€ŁæșèŹ›ćș§ takawo111125 ă‚‚ăźă„ăă‚Šă‚ȘăƒŒăƒ—ăƒłăƒĄă‚œăƒƒăƒ‰iamas・ćČé˜œé«˜ć°‚é€ŁæșèŹ›ćș§ takawo
111125 ă‚‚ăźă„ăă‚Šă‚ȘăƒŒăƒ—ăƒłăƒĄă‚œăƒƒăƒ‰iamas・ćČé˜œé«˜ć°‚é€ŁæșèŹ›ćș§ takawo
 
「Makerăƒ ăƒŒăƒ–ăƒĄăƒłăƒˆă€ăźæ™‚ä»Łă«ăŠă‘ă‚‹ăƒ‡ă‚¶ă‚€ăƒłèš€èȘž
「Makerăƒ ăƒŒăƒ–ăƒĄăƒłăƒˆă€ăźæ™‚ä»Łă«ăŠă‘ă‚‹ăƒ‡ă‚¶ă‚€ăƒłèš€èȘžă€ŒMakerăƒ ăƒŒăƒ–ăƒĄăƒłăƒˆă€ăźæ™‚ä»Łă«ăŠă‘ă‚‹ăƒ‡ă‚¶ă‚€ăƒłèš€èȘž
「Makerăƒ ăƒŒăƒ–ăƒĄăƒłăƒˆă€ăźæ™‚ä»Łă«ăŠă‘ă‚‹ăƒ‡ă‚¶ă‚€ăƒłèš€èȘž
 
iBeaconăƒăƒƒă‚«ă‚œăƒł
iBeaconăƒăƒƒă‚«ă‚œăƒłiBeaconăƒăƒƒă‚«ă‚œăƒł
iBeaconăƒăƒƒă‚«ă‚œăƒł
 
20131026 i beaconăƒŻăƒŒă‚Żă‚·ăƒ§ăƒƒăƒ—
20131026 i beaconăƒŻăƒŒă‚Żă‚·ăƒ§ăƒƒăƒ—20131026 i beaconăƒŻăƒŒă‚Żă‚·ăƒ§ăƒƒăƒ—
20131026 i beaconăƒŻăƒŒă‚Żă‚·ăƒ§ăƒƒăƒ—
 
ć…Źć…±ăźć Žă§ăźäœ“éš“ćž‹äœœć“ć±•ç€ș ă€œć±‹ć€–ă§èŠłćźąă‚’èȘ˜ć°Žă™ă‚‹ăŸă‚ăźKinect〜
ć…Źć…±ăźć Žă§ăźäœ“éš“ćž‹äœœć“ć±•ç€ș ă€œć±‹ć€–ă§èŠłćźąă‚’èȘ˜ć°Žă™ă‚‹ăŸă‚ăźKinectă€œć…Źć…±ăźć Žă§ăźäœ“éš“ćž‹äœœć“ć±•ç€ș ă€œć±‹ć€–ă§èŠłćźąă‚’èȘ˜ć°Žă™ă‚‹ăŸă‚ăźKinect〜
ć…Źć…±ăźć Žă§ăźäœ“éš“ćž‹äœœć“ć±•ç€ș ă€œć±‹ć€–ă§èŠłćźąă‚’èȘ˜ć°Žă™ă‚‹ăŸă‚ăźKinect〜
 
ăƒ•ă‚Łă‚žă‚«ăƒ«ă‚łăƒłăƒ”ăƒ„ăƒŒăƒ†ă‚Łăƒłă‚°ăšăăźćŻèƒœæ€§
ăƒ•ă‚Łă‚žă‚«ăƒ«ă‚łăƒłăƒ”ăƒ„ăƒŒăƒ†ă‚Łăƒłă‚°ăšăăźćŻèƒœæ€§ăƒ•ă‚Łă‚žă‚«ăƒ«ă‚łăƒłăƒ”ăƒ„ăƒŒăƒ†ă‚Łăƒłă‚°ăšăăźćŻèƒœæ€§
ăƒ•ă‚Łă‚žă‚«ăƒ«ă‚łăƒłăƒ”ăƒ„ăƒŒăƒ†ă‚Łăƒłă‚°ăšăăźćŻèƒœæ€§
 
IAMAS 2010 First presentation
IAMAS 2010 First presentationIAMAS 2010 First presentation
IAMAS 2010 First presentation
 
IAMAS Innovation Studio Opening 2013.04.19
IAMAS Innovation Studio Opening 2013.04.19IAMAS Innovation Studio Opening 2013.04.19
IAMAS Innovation Studio Opening 2013.04.19
 
「Makerăƒ ăƒŒăƒ–ăƒĄăƒłăƒˆă€ăźæ™‚ä»Łă«ăŠă‘ă‚‹designă€ć­Šăłă€ç”Łæ„­
「Makerăƒ ăƒŒăƒ–ăƒĄăƒłăƒˆă€ăźæ™‚ä»Łă«ăŠă‘ă‚‹designă€ć­Šăłă€ç”Łæ„­ă€ŒMakerăƒ ăƒŒăƒ–ăƒĄăƒłăƒˆă€ăźæ™‚ä»Łă«ăŠă‘ă‚‹designă€ć­Šăłă€ç”Łæ„­
「Makerăƒ ăƒŒăƒ–ăƒĄăƒłăƒˆă€ăźæ™‚ä»Łă«ăŠă‘ă‚‹designă€ć­Šăłă€ç”Łæ„­
 
2013 Maker Meetup Taipei
2013 Maker Meetup Taipei2013 Maker Meetup Taipei
2013 Maker Meetup Taipei
 

Ähnlich wie Arduino Workshop 2011.05.31

Mims effect
Mims effectMims effect
Mims effect
arnaullb
 
What will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdfWhat will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdf
SIGMATAX1
 
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Jayanthi Kannan MK
 
Mao arduino
Mao arduinoMao arduino
Mao arduino
Mao Wu
 
Lab_5.txt.rtfLab_05Design an application that reads the .docx
Lab_5.txt.rtfLab_05Design an application that reads the .docxLab_5.txt.rtfLab_05Design an application that reads the .docx
Lab_5.txt.rtfLab_05Design an application that reads the .docx
DIPESH30
 

Ähnlich wie Arduino Workshop 2011.05.31 (20)

Mims effect
Mims effectMims effect
Mims effect
 
Introduction to arduino Programming with
Introduction to arduino Programming withIntroduction to arduino Programming with
Introduction to arduino Programming with
 
Arduino.pptx
Arduino.pptxArduino.pptx
Arduino.pptx
 
Arduino cic3
Arduino cic3Arduino cic3
Arduino cic3
 
Roberto Gallea: Workshop Arduino, giorno #2 Arduino + Processing
Roberto Gallea: Workshop Arduino, giorno #2 Arduino + ProcessingRoberto Gallea: Workshop Arduino, giorno #2 Arduino + Processing
Roberto Gallea: Workshop Arduino, giorno #2 Arduino + Processing
 
What will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdfWhat will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdf
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino based applications part 1
Arduino based applications part 1Arduino based applications part 1
Arduino based applications part 1
 
Bluetooth
Bluetooth Bluetooth
Bluetooth
 
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf4 IOT 18ISDE712  MODULE 4 IoT Physical Devices and End Point-Aurdino  Uno.pdf
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
 
Gaztea Tech Robotica 2016
Gaztea Tech Robotica 2016Gaztea Tech Robotica 2016
Gaztea Tech Robotica 2016
 
Arduino final ppt
Arduino final pptArduino final ppt
Arduino final ppt
 
Arduino for Beginners
Arduino for BeginnersArduino for Beginners
Arduino for Beginners
 
Mao arduino
Mao arduinoMao arduino
Mao arduino
 
Day1
Day1Day1
Day1
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Lab_5.txt.rtfLab_05Design an application that reads the .docx
Lab_5.txt.rtfLab_05Design an application that reads the .docxLab_5.txt.rtfLab_05Design an application that reads the .docx
Lab_5.txt.rtfLab_05Design an application that reads the .docx
 
Arduino programming part1
Arduino programming part1Arduino programming part1
Arduino programming part1
 
P-Space Arduino/Genuino day 2016
P-Space Arduino/Genuino day 2016P-Space Arduino/Genuino day 2016
P-Space Arduino/Genuino day 2016
 

Mehr von Shigeru Kobayashi

テレマティクă‚čăƒăƒƒă‚«ă‚œăƒłć‚ćŠ ćŒæ„æ›ž
テレマティクă‚čăƒăƒƒă‚«ă‚œăƒłć‚ćŠ ćŒæ„æ›žăƒ†ăƒŹăƒžăƒ†ă‚Łă‚Żă‚čăƒăƒƒă‚«ă‚œăƒłć‚ćŠ ćŒæ„æ›ž
テレマティクă‚čăƒăƒƒă‚«ă‚œăƒłć‚ćŠ ćŒæ„æ›ž
Shigeru Kobayashi
 
æƒ…ć ±ć­ŠćŸșç€ŽïŒšă‚šăƒŹă‚Żăƒˆăƒ­ăƒ‹ă‚Żă‚č
æƒ…ć ±ć­ŠćŸșç€ŽïŒšă‚šăƒŹă‚Żăƒˆăƒ­ăƒ‹ă‚Żă‚čæƒ…ć ±ć­ŠćŸșç€ŽïŒšă‚šăƒŹă‚Żăƒˆăƒ­ăƒ‹ă‚Żă‚č
æƒ…ć ±ć­ŠćŸșç€ŽïŒšă‚šăƒŹă‚Żăƒˆăƒ­ăƒ‹ă‚Żă‚č
Shigeru Kobayashi
 
Engadgeté›»ć­ć·„äœœéƒšïŒšă‚€ăƒłăƒ†ăƒ«Galileoă§ă‚Źă‚žă‚§ăƒƒăƒˆă‚’äœœă‚ă†ïŒ
Engadgeté›»ć­ć·„äœœéƒšïŒšă‚€ăƒłăƒ†ăƒ«Galileoă§ă‚Źă‚žă‚§ăƒƒăƒˆă‚’äœœă‚ă†ïŒEngadgeté›»ć­ć·„äœœéƒšïŒšă‚€ăƒłăƒ†ăƒ«Galileoă§ă‚Źă‚žă‚§ăƒƒăƒˆă‚’äœœă‚ă†ïŒ
Engadgeté›»ć­ć·„äœœéƒšïŒšă‚€ăƒłăƒ†ăƒ«Galileoă§ă‚Źă‚žă‚§ăƒƒăƒˆă‚’äœœă‚ă†ïŒ
Shigeru Kobayashi
 

Mehr von Shigeru Kobayashi (20)

Maker Faireă‚’æŒç¶šćŻèƒœă«ă™ă‚‹ă«ăŻïŒŸ
Maker Faireă‚’æŒç¶šćŻèƒœă«ă™ă‚‹ă«ăŻïŒŸMaker Faireă‚’æŒç¶šćŻèƒœă«ă™ă‚‹ă«ăŻïŒŸ
Maker Faireă‚’æŒç¶šćŻèƒœă«ă™ă‚‹ă«ăŻïŒŸ
 
Maker Faire Tokyo 2018
Maker Faire Tokyo 2018Maker Faire Tokyo 2018
Maker Faire Tokyo 2018
 
IoT Workshop in Macao
IoT Workshop in MacaoIoT Workshop in Macao
IoT Workshop in Macao
 
auæœȘæ„ç ”ç©¶æ‰€ăƒăƒƒă‚«ă‚œăƒł
auæœȘæ„ç ”ç©¶æ‰€ăƒăƒƒă‚«ă‚œăƒłauæœȘæ„ç ”ç©¶æ‰€ăƒăƒƒă‚«ă‚œăƒł
auæœȘæ„ç ”ç©¶æ‰€ăƒăƒƒă‚«ă‚œăƒł
 
Maker Faire Tokyo 2015
Maker Faire Tokyo 2015Maker Faire Tokyo 2015
Maker Faire Tokyo 2015
 
Gesture Workshop
Gesture WorkshopGesture Workshop
Gesture Workshop
 
Telematics Hackathon
Telematics HackathonTelematics Hackathon
Telematics Hackathon
 
テレマティクă‚čăƒăƒƒă‚«ă‚œăƒłć‚ćŠ ćŒæ„æ›ž
テレマティクă‚čăƒăƒƒă‚«ă‚œăƒłć‚ćŠ ćŒæ„æ›žăƒ†ăƒŹăƒžăƒ†ă‚Łă‚Żă‚čăƒăƒƒă‚«ă‚œăƒłć‚ćŠ ćŒæ„æ›ž
テレマティクă‚čăƒăƒƒă‚«ă‚œăƒłć‚ćŠ ćŒæ„æ›ž
 
monoFab Ideathon Meeting
monoFab Ideathon MeetingmonoFab Ideathon Meeting
monoFab Ideathon Meeting
 
monoFabă‚ąă‚€ăƒ‡ă‚ąă‚œăƒłăƒŸăƒŒăƒ†ă‚Łăƒłă‚°ć‚ćŠ ćŒæ„æ›ž
monoFabă‚ąă‚€ăƒ‡ă‚ąă‚œăƒłăƒŸăƒŒăƒ†ă‚Łăƒłă‚°ć‚ćŠ ćŒæ„æ›žmonoFabă‚ąă‚€ăƒ‡ă‚ąă‚œăƒłăƒŸăƒŒăƒ†ă‚Łăƒłă‚°ć‚ćŠ ćŒæ„æ›ž
monoFabă‚ąă‚€ăƒ‡ă‚ąă‚œăƒłăƒŸăƒŒăƒ†ă‚Łăƒłă‚°ć‚ćŠ ćŒæ„æ›ž
 
CEATEC JAPAN 2014
CEATEC JAPAN 2014CEATEC JAPAN 2014
CEATEC JAPAN 2014
 
BLE Boot Camp
BLE Boot CampBLE Boot Camp
BLE Boot Camp
 
Fab MeetUp Vol.5
Fab MeetUp Vol.5Fab MeetUp Vol.5
Fab MeetUp Vol.5
 
SK creator planet 2014
SK creator planet 2014SK creator planet 2014
SK creator planet 2014
 
Solid 2014 kobayashi
Solid 2014 kobayashiSolid 2014 kobayashi
Solid 2014 kobayashi
 
æƒ…ć ±ć­ŠćŸșç€ŽïŒšă‚šăƒŹă‚Żăƒˆăƒ­ăƒ‹ă‚Żă‚č
æƒ…ć ±ć­ŠćŸșç€ŽïŒšă‚šăƒŹă‚Żăƒˆăƒ­ăƒ‹ă‚Żă‚čæƒ…ć ±ć­ŠćŸșç€ŽïŒšă‚šăƒŹă‚Żăƒˆăƒ­ăƒ‹ă‚Żă‚č
æƒ…ć ±ć­ŠćŸșç€ŽïŒšă‚šăƒŹă‚Żăƒˆăƒ­ăƒ‹ă‚Żă‚č
 
Rebuilding the world, from the 'periphery'
Rebuilding the world, from the 'periphery'Rebuilding the world, from the 'periphery'
Rebuilding the world, from the 'periphery'
 
Engadgeté›»ć­ć·„äœœéƒšïŒšă‚€ăƒłăƒ†ăƒ«Galileoă§ă‚Źă‚žă‚§ăƒƒăƒˆă‚’äœœă‚ă†ïŒ
Engadgeté›»ć­ć·„äœœéƒšïŒšă‚€ăƒłăƒ†ăƒ«Galileoă§ă‚Źă‚žă‚§ăƒƒăƒˆă‚’äœœă‚ă†ïŒEngadgeté›»ć­ć·„äœœéƒšïŒšă‚€ăƒłăƒ†ăƒ«Galileoă§ă‚Źă‚žă‚§ăƒƒăƒˆă‚’äœœă‚ă†ïŒ
Engadgeté›»ć­ć·„äœœéƒšïŒšă‚€ăƒłăƒ†ăƒ«Galileoă§ă‚Źă‚žă‚§ăƒƒăƒˆă‚’äœœă‚ă†ïŒ
 
珏2曞iBeaconăƒăƒƒă‚«ă‚œăƒł
珏2曞iBeaconăƒăƒƒă‚«ă‚œăƒłçŹŹ2曞iBeaconăƒăƒƒă‚«ă‚œăƒł
珏2曞iBeaconăƒăƒƒă‚«ă‚œăƒł
 
ă‚€ăƒŽăƒ™ăƒŒă‚·ăƒ§ăƒłć‰”ć‡șăźăƒ•ă‚Ąă‚·ăƒȘăƒ†ăƒŒă‚żăšă—ăŠăźăƒ‡ă‚žă‚żăƒ«ć·„äœœæ©Ÿæą°ă‚’ć‚™ăˆăŸćž‚æ°‘ć·„æˆż
ă‚€ăƒŽăƒ™ăƒŒă‚·ăƒ§ăƒłć‰”ć‡șăźăƒ•ă‚Ąă‚·ăƒȘăƒ†ăƒŒă‚żăšă—ăŠăźăƒ‡ă‚žă‚żăƒ«ć·„äœœæ©Ÿæą°ă‚’ć‚™ăˆăŸćž‚æ°‘ć·„æˆżă‚€ăƒŽăƒ™ăƒŒă‚·ăƒ§ăƒłć‰”ć‡șăźăƒ•ă‚Ąă‚·ăƒȘăƒ†ăƒŒă‚żăšă—ăŠăźăƒ‡ă‚žă‚żăƒ«ć·„äœœæ©Ÿæą°ă‚’ć‚™ăˆăŸćž‚æ°‘ć·„æˆż
ă‚€ăƒŽăƒ™ăƒŒă‚·ăƒ§ăƒłć‰”ć‡șăźăƒ•ă‚Ąă‚·ăƒȘăƒ†ăƒŒă‚żăšă—ăŠăźăƒ‡ă‚žă‚żăƒ«ć·„äœœæ©Ÿæą°ă‚’ć‚™ăˆăŸćž‚æ°‘ć·„æˆż
 

KĂŒrzlich hochgeladen

Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
amitlee9823
 
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
poojakaurpk09
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
kumaririma588
 
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
âž„đŸ” 7737669865 đŸ”â–» dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
âž„đŸ” 7737669865 đŸ”â–» dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...âž„đŸ” 7737669865 đŸ”â–» dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...
âž„đŸ” 7737669865 đŸ”â–» dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
amitlee9823
 
Call Girls In Jp Nagar ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Jp Nagar ☎ 7737669865 đŸ„” Book Your One night StandCall Girls In Jp Nagar ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Jp Nagar ☎ 7737669865 đŸ„” Book Your One night Stand
amitlee9823
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
home
 

KĂŒrzlich hochgeladen (20)

Book Paid In Vashi In 8976425520 Navi Mumbai Call Girls
Book Paid In Vashi In 8976425520 Navi Mumbai Call GirlsBook Paid In Vashi In 8976425520 Navi Mumbai Call Girls
Book Paid In Vashi In 8976425520 Navi Mumbai Call Girls
 
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
Whitefield Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Ba...
 
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
 
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Brookefield Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
❀Personal Whatsapp Number 8617697112 Samba Call Girls 💩✅.
❀Personal Whatsapp Number 8617697112 Samba Call Girls 💩✅.❀Personal Whatsapp Number 8617697112 Samba Call Girls 💩✅.
❀Personal Whatsapp Number 8617697112 Samba Call Girls 💩✅.
 
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 105, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
âž„đŸ” 7737669865 đŸ”â–» dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
âž„đŸ” 7737669865 đŸ”â–» dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...âž„đŸ” 7737669865 đŸ”â–» dharamshala Call-girls in Women Seeking Men  🔝dharamshala🔝  ...
âž„đŸ” 7737669865 đŸ”â–» dharamshala Call-girls in Women Seeking Men 🔝dharamshala🔝 ...
 
Call Girls In Jp Nagar ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Jp Nagar ☎ 7737669865 đŸ„” Book Your One night StandCall Girls In Jp Nagar ☎ 7737669865 đŸ„” Book Your One night Stand
Call Girls In Jp Nagar ☎ 7737669865 đŸ„” Book Your One night Stand
 
call girls in Vasundhra (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service 🔝...call girls in Vasundhra (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service 🔝...
 
Real service provider college girl Mira Road 8976425520
Real service provider college girl Mira Road 8976425520Real service provider college girl Mira Road 8976425520
Real service provider college girl Mira Road 8976425520
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
 
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...AMBER GRAIN EMBROIDERY | Growing folklore elements |  Root-based materials, w...
AMBER GRAIN EMBROIDERY | Growing folklore elements | Root-based materials, w...
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
 

Arduino Workshop 2011.05.31

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. void setup() { // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); // set the LED on delay(1000); // wait for a second digitalWrite(13, LOW); // set the LED off delay(1000); // wait for a second }
  • 27. void setup() { // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); // set the LED on delay(1000); // wait for a second digitalWrite(13, LOW); // set the LED off delay(1000); // wait for a second }
  • 28.
  • 29.
  • 30. int brightness = 0; int fadeAmount = 5; void setup() { pinMode(9, OUTPUT); } void loop() { // set the brightness of pin 9: analogWrite(9, brightness); brightness = brightness + fadeAmount; if (brightness == 0 || brightness == 255) { fadeAmount = -fadeAmount ; } delay(30); }
  • 31.
  • 32.
  • 33.
  • 34.
  • 35. const int buttonPin = 2; const int ledPin = 13; int buttonState = 0; void setup() { pinMode(ledPin, OUTPUT); pinMode(buttonPin, INPUT); } void loop(){ // read the state of the pushbutton value: buttonState = digitalRead(buttonPin); if (buttonState == HIGH) { digitalWrite(ledPin, HIGH); } else { digitalWrite(ledPin, LOW); } }
  • 36.
  • 37.
  • 38.
  • 39.
  • 40. const int sensorPin = A0; const int ledPin = 9; void setup() { pinMode(ledPin, OUTPUT); } void loop() { // read the value from the sensor: int sensorValue = analogRead(sensorPin); // scale from 0-1023 to 0-255 int intensity = map(sensorValue, 0, 1023, 0, 255); // sets the value analogWrite(ledPin, intensity); }
  • 41.
  • 42.
  • 43.
  • 44. const int ledPin = 9; void setup() { // initialize the serial communication: Serial.begin(9600); pinMode(ledPin, OUTPUT); } void loop() { byte brightness; // check if data has been sent from the computer: if (Serial.available()) { // read the most recent byte (0-255) brightness = Serial.read(); // set the brightness of the LED: analogWrite(ledPin, brightness); } }
  • 45. import processing.serial.*; Serial port; void setup() { size(256, 150); // Print available serial ports println(Serial.list()); port = new Serial(this, "COM1", 9600); } void draw() { // draw a gradient from black to white ... // send the current X-position of the mouse port.write(mouseX); }