Changes between Version 28 and Version 29 of wade/embedded/arduino/example/temp
- Timestamp:
- Jun 7, 2013, 2:10:06 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wade/embedded/arduino/example/temp
v28 v29 692 692 } 693 693 }}} 694 695 = 程式十三:led 矩陣作業一 = 696 {{{ 697 void setup() 698 { 699 for (int i = 2; i <= 17; i++) 700 { 701 pinMode(i, OUTPUT); 702 } 703 clean(); 704 } 705 706 void loop() 707 { 708 709 710 } 711 712 void clean() 713 { 714 for (int i = 2; i <= 9; i++) 715 { 716 pinMode(i, LOW); 717 } 718 for (int i = 10; i <= 17; i++) 719 { 720 pinMode(i, HIGH); 721 } 722 } 723 }}} 724 694 725 [[Image(LED8x8-2.png)]] 695 726 [[Image(四方型.png)]]