Shop OBEX P1 Docs P2 Docs Learn Events
LM34 Issues — Parallax Forums

LM34 Issues

CyberCyber Posts: 2
edited 2016-04-13 20:22 in Accessories
I don't know where to start with my LM34 Sensor, and anything I have found on forums, the powerpoint, or on other websites does not seem to assist with my issues.

We are in BASIC Editor using BS2, and we have the language to 2.5.

I do have a code that I thought might work that ended up not helping:
// LM34 temp sensor connected to analog pin A0
const int tempSensor = A0;

void setup() {
Serial.begin(9600);
}

void loop() {
Serial.println(analogRead(tempSensor), DEC);
delay(300);
}

Comments

Sign In or Register to comment.