sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
Yun_SHT31_WiFi_REST.ino File Reference
#include <Bridge.h>
#include <YunServer.h>
#include <YunClient.h>
#include <aREST.h>
#include <Wire.h>
#include "Adafruit_SHT31.h"
#include "SSD1306Ascii.h"
#include "SSD1306AsciiWire.h"
#include <Process.h>
#include <FileIO.h>

Functions

YunServer server (80)
 
void setup (void)
 
void loop ()
 
bool blinking (void)
 
String getTimeStamp ()
 
double getVcc ()
 
double getTemp (void)
 

Variables

aREST rest = aREST()
 
Adafruit_SHT31 sht31 = Adafruit_SHT31()
 
SSD1306AsciiWire oled
 
float temperature
 
float humidity
 
float Vs
 
float Ti
 
const String sDESC = String("SHT31 I2C WiFi Sensor")
 
const String sDATE = String(__DATE__)
 
const String sTIME = String(__TIME__)
 
const String sIDE = String(ARDUINO, DEC)
 
const String sVERSION = String(__VERSION__)
 
const String sFILE = String(__FILE__)
 

Function Documentation

bool blinking ( void  )
double getTemp ( void  )
String getTimeStamp ( )
double getVcc ( void  )
void loop ( void  )

OneWirePJON device status update function.

Returns
(void)

Arduino IDE: put your main code here, to run repeatedly.

YunServer server ( 80  )
void setup ( void  )

Arduino IDE: put your setup code here, to run once.

Variable Documentation

float humidity
SSD1306AsciiWire oled
aREST rest = aREST()
const String sDATE = String(__DATE__)
const String sDESC = String("SHT31 I2C WiFi Sensor")
const String sFILE = String(__FILE__)
Adafruit_SHT31 sht31 = Adafruit_SHT31()
const String sIDE = String(ARDUINO, DEC)
const String sTIME = String(__TIME__)
const String sVERSION = String(__VERSION__)
float temperature
float Ti
float Vs