close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jun 6, 2013, 3:23:30 PM (13 years ago)
- Author:
-
wade
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
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 | }}} |