//This code prints the phototransistor light sensor values //Reference code provided by https://www.arduino.cc/education/visualization-with-arduino-and-processing/ //Code modified by Shea Landeene for HTMAA 2023 unsigned int ADCValue; void setup(){ Serial.begin(9600); } void loop(){ int val = analogRead(27); //update to desired input pin val = map(val, 0, 300, 0, 255); //normalize sensor value range Serial.println(val); delay(50); }