We are about to switch to a new forum software. Until then we have removed the registration on this forum.
HOW TO WRITE PROCESSING CODE OF FOLLOWING LM35 temperture sensor code.
float temp;
int tempPin = 0;
void setup()
{
Serial.begin(9600);
}
void loop()
{
temp = analogRead(tempPin);
temp = temp * 0.48828125;
Serial.print("TEMPRATURE = ");
Serial.print(temp);
Serial.print("*C");
Serial.println();
delay(1000);
}
Answers
I have modified your post to remove all caps title and format your code. This is your second post so you need to learn how to format code for this forum yourself. Read this discussion.
https://Forum.Processing.org/two/discussion/16618/processing-with-arduino-void-serialevent#Item_5
Can you make it a simple.