/*Sensor Reading*/ int analogSensor0 = 0; int analogSensor1 = 1; int analogSensor2 = 2; int sensorValue0 = 0; int sensorValue1 = 0; int sensorValue2 = 0; void setup() { //configure serial connection: Serial.begin(9600); } void loop() { //read the analog sensor sensorValue0 = analogRead(analogSensor0); sensorValue1 = analogRead(analogSensor1); sensorValue2 = analogRead(analogSensor2); //print results in raw binary value followed by ASCII value for that binary //Serial.print(sensorValue0, DEC); //Serial.print(":"); //Serial.print(sensorValue0, BYTE); //Serial.print(" , "); //Serial.print(sensorValue1, DEC); //Serial.print(":"); //Serial.println(sensorValue1, BYTE); //OR print results in raw binary value only Serial.print(sensorValue0, DEC); Serial.print(","); Serial.print(sensorValue1, DEC); Serial.print(","); Serial.println(sensorValue2, DEC); //OR print results in ASCII only (good for network protocols and human readable) //Serial.println(sensorValue0, BYTE); //Serial.println(sensorValue1, BYTE); }