summaryrefslogtreecommitdiff
path: root/Origin/user-code/thermistor/arduino/therm-read/therm-read.ino
blob: 68033e9a6c522c634da1b5d2bb6687467ead5130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
int val;
int i;

void setup() 
{
  Serial.begin(115200);
  for(i = 1; i <= 20; i++)
  {
    val = analogRead(A4); //read value from thermistor
    Serial.println(val); //display 
    delay(500);
  }

}

void loop() 
{  
}