Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. void setup() { // put your setup code here, to run once: Serial.begin(9600); }\\ void loop() { //reads value from Irradience Value int sensorValue = analogRead(A0); //delay serial monitor delay(1000); //Converts the read voltage from sensor to voltage float voltage = sensorValue * (5.0 / 1023.0) * 1000; Serial.println(voltage* 0.25); } weatherbox/team_nova/irradiance_code.txt Last modified: 2021/09/19 21:59(external edit)