weatherbox:team_nova:humidity_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:humidity_code [2016/03/18 01:10]
tyamauchi
weatherbox:team_nova:humidity_code [2021/09/19 21:59] (current)
Line 1: Line 1:
-//Include SHT1x library\\ +/* Name: Team Nova 
-#include <​SHT1x.h>​\\+ * Date: 2/23/16 
 + * Reads temperature and humidity values from SHT1x-series sensors 
 + */ 
 +//Arduino -> Sensor 
 +//3.3 V -> 8 
 +//GND -> 4 
 +//10 -> 1 
 +//11 -> 3 
 + 
 +//Include SHT1x library 
 +#include <​SHT1x.h>​
  
 //Define Macros for data and clock pins //Define Macros for data and clock pins
-#define dataPin 10 \\ +#define dataPin 10 
-#define clockPin 11 \\+#define clockPin 11
  
-//​Initialize sensor\\ +//​Initialize sensor 
-SHT1x sht1x(dataPin,​ clockPin); ​\\+SHT1x sht1x(dataPin,​ clockPin);
  
 void setup() void setup()
Line 53: Line 63:
     delay(2000);​     delay(2000);​
 } }
 +
  • weatherbox/team_nova/humidity_code.1458263402.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)