Changes between Version 14 and Version 15 of wade/embedded/arduino/example/temp
- Timestamp:
- Jun 6, 2013, 2:40:49 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wade/embedded/arduino/example/temp
v14 v15 484 484 }}} 485 485 486 = 程式七:led 霹靂車 = 487 {{{ 488 void setup() { 489 for (int i=0; i<=7; i++) 490 { 491 pinMode(i, OUTPUT); 492 digitalWrite(i, LOW); 493 } 494 495 496 } 497 498 void loop() 499 { 500 for (int i=0; i<=7; i++) 501 { 502 digitalWrite(i, HIGH); 503 } 504 505 } 506 }}}