User Tools

Site Tools


tutorials:learn:arduino:lesson2.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:learn:arduino:lesson2.html [2010/10/20 21:48]
daigo
tutorials:learn:arduino:lesson2.html [2016/01/28 18:05] (current)
Line 234: Line 234:
  
  
-**Exercise 2.  \\ Modify the code so that the light is on for 50 msec and off for 50 msec. What happens? ** \\ //Highlight the text below to see the answer // \\ Intense strobe action!+**Exercise 2.  \\ Modify the code so that the light is on for 50 msec and off for 50 msec. What happens? ** \\ //Highlight the text below to see the answer // \\ <class white>Intense strobe action!</​class>​
  
  
  
-**Exercise 3.** ** \\ Modify the code so that the light is on for 10 ms and off for 10 ms. What happens?** \\ //Highlight the text below to see the answer ​       // \\ The light is no longer blinking+**Exercise 3.** ** \\ Modify the code so that the light is on for 10 ms and off for 10 ms. What happens?** \\ //Highlight the text below to see the answer ​       // \\ <class white>The light is no longer blinking</​class>​
  
  
  
-**Now pick up the Arduino and gently wave it back and forth, in a dark room. What happens?** \\ //Highlight the text below to see the answer //         \\ The LED creates a dashed trail of light in the air. z+**Now pick up the Arduino and gently wave it back and forth, in a dark room. What happens?** \\ //Highlight the text below to see the answer //         ​\\ ​<class white>The LED creates a dashed trail of light in the air.</​class>​
  
  
  
-**What do you think is happening here? \\ **//​Highlight the text below to see the answer //**         ​\\ ​**The LED is blinking, but its blinking so fast that our eyes can't pick it up, so it looks like a blur. When the Arduino is waved in the air, we see streaks of light from the blinks.+**What do you think is happening here? \\ **//​Highlight the text below to see the answer //**         ​\\ ​ 
 +<class white>The LED is blinking, but its blinking so fast that our eyes can't pick it up, so it looks like a blur. When the Arduino is waved in the air, we see streaks of light from the blinks.</​class>​
  
  
/home/ladyada/public_html/wiki/data/attic/tutorials/learn/arduino/lesson2.html.1287611332.txt.gz · Last modified: 2016/01/28 18:05 (external edit)