Changes between Initial Version and Version 1 of wade/embedded/arduino/example/example_2


Ignore:
Timestamp:
Jan 6, 2010, 5:29:37 PM (15 years ago)
Author:
wade
Comment:

--

Legend:

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

    v1 v1  
     1
     2{{{
     3
     4#define sensorIn 5
     5int val = 0;
     6
     7void setup()
     8{
     9  Serial.begin(9600);
     10}
     11
     12void loop()
     13{
     14  val = analogRead(sensorIn);
     15  Serial.println(val);
     16//  Serial.write("test\n");
     17  delay(100);
     18}
     19
     20}}}