sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
OWHumidity2.ino File Reference
#include <OWSlave.h>

Macros

#define countsPerMM   1;
 
#define LEDPin   0
 
#define OWPin   1
 
#define supplyPin   A3
 
#define sensorPin   A2
 
#define flashLength   50
 

Functions

OWSlave ds (OWPin)
 
void setup ()
 
void loop ()
 
void owHandler (void)
 
float getHumidity (void)
 
void onewireInterrupt (void)
 
void FlashLED (void)
 

Variables

unsigned char rom [8] = {0xE2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00}
 
char scratchpad [9] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
 
volatile long flash = 0
 
long flashPause = 100
 
long flashStart = 0
 
long flashStop = 0
 
volatile long prevInt = 0
 
volatile boolean owReset = false
 

Macro Definition Documentation

#define countsPerMM   1;
#define flashLength   50
#define LEDPin   0
#define OWPin   1
#define sensorPin   A2
#define supplyPin   A3

Function Documentation

OWSlave ds ( OWPin  )
void FlashLED ( void  )
float getHumidity ( void  )
void loop ( void  )

OneWirePJON device status update function.

Returns
(void)

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

void onewireInterrupt ( void  )
void owHandler ( void  )
void setup ( void  )

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

Variable Documentation

volatile long flash = 0
long flashPause = 100
long flashStart = 0
long flashStop = 0
volatile boolean owReset = false
volatile long prevInt = 0
unsigned char rom[8] = {0xE2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00}
char scratchpad[9] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}