weatherbox:team_nova:irradiance_code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
weatherbox:team_nova:irradiance_code [2016/03/17 23:24]
tyamauchi
weatherbox:team_nova:irradiance_code [2021/09/19 21:59] (current)
Line 2: Line 2:
   // put your setup code here, to run once:   // put your setup code here, to run once:
   Serial.begin(9600);​   Serial.begin(9600);​
-}+}\\
 void loop() { void loop() {
   //reads value from Irradience Value   //reads value from Irradience Value
Line 10: Line 10:
   delay(1000);​   delay(1000);​
  
-  //Converts the read voltage from sensor to voltage\\ +  //Converts the read voltage from sensor to voltage 
-  float voltage = sensorValue * (5.0 / 1023.0) * 1000;\\ +  float voltage = sensorValue * (5.0 / 1023.0) * 1000; 
-\\ + 
-  Serial.println(voltage* 0.25);\\ +  Serial.println(voltage* 0.25); 
-}\\+}
  • weatherbox/team_nova/irradiance_code.1458257075.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)