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
  
-- Define Macros for data and clock pins +//Include SHT1x library 
-#define dataPin 10 \\ +#include <​SHT1x.h>​
-#define clockPin 11 \\+
  
-Initialize sensor\\ +//Define Macros for data and clock pins 
-SHT1x sht1x(dataPin,​ clockPin); ​\\+#define dataPin 10 
 +#define clockPin 11 
 + 
 +//Initialize sensor 
 +SHT1x sht1x(dataPin,​ clockPin);
  
 void setup() void setup()
Line 53: Line 63:
     delay(2000);​     delay(2000);​
 } }
 +
  • weatherbox/team_nova/humidity_code.1458263428.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)