Skip to content

Instantly share code, notes, and snippets.

@funzeye
Created June 3, 2016 14:37
Show Gist options
  • Save funzeye/73c00dec4b6c7ce4c6c7f163bc8fa7ed to your computer and use it in GitHub Desktop.
Save funzeye/73c00dec4b6c7ce4c6c7f163bc8fa7ed to your computer and use it in GitHub Desktop.
redSensorValue = analogRead(redSensorPin);
delay(5);
greenSensorValue = analogRead(greenSensorPin);
delay(5);
blueSensorValue = analogRead(blueSensorPin);
Serial.print("Raw Sensor Values \t Red: ");
Serial.print(redSensorValue);
Serial.print("\t Green: ");
Serial.print(greenSensorValue);
Serial.print("\t Blue: ");
Serial.print(blueSensorValue);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment