Changes between Version 15 and Version 16 of wade/embedded/arduino/example/temp


Ignore:
Timestamp:
Jun 6, 2013, 3:23:30 PM (11 years ago)
Author:
wade
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • wade/embedded/arduino/example/temp

    v15 v16  
    505505}
    506506}}}
     507
     508= 程式七:基本序列傳輸 =
     509{{{
     510void setup() {
     511  pinMode(2, INPUT);
     512  digitalWrite(2, HIGH);
     513  Serial.begin(9600);
     514
     515}
     516
     517void loop() {
     518  // put your main code here, to run repeatedly:
     519  Serial.println(digitalRead(2));
     520  delay(300);
     521}
     522}}}