Changes between Version 15 and Version 16 of wade/embedded/arduino/example/temp
- Timestamp:
- Jun 6, 2013, 3:23:30 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wade/embedded/arduino/example/temp
v15 v16 505 505 } 506 506 }}} 507 508 = 程式七:基本序列傳輸 = 509 {{{ 510 void setup() { 511 pinMode(2, INPUT); 512 digitalWrite(2, HIGH); 513 Serial.begin(9600); 514 515 } 516 517 void loop() { 518 // put your main code here, to run repeatedly: 519 Serial.println(digitalRead(2)); 520 delay(300); 521 } 522 }}}