Arduinoをはじめようワークショップ

2,249 views

Published on

2012年1月9日に、名古屋・大須の第二アメ横ビルで行ったワークショップの資料

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,249
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Arduinoをはじめようワークショップ

    1. 1. Arduino 2011 1 9 TSUBOI Yoshihiro
    2. 2. #define LED 13int val = 0;void setup(){ pinMode(LED, OUTPUT); Serial.begin(9600);}void loop() { val = analogRead(0); digitalWrite(LED, HIGH); delay(val); digitalWrite(LED, LOW); delay(val); Serial.println(val);}

    ×