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

Macros

#define countsPerMM   1;
 
#define LEDPin   0
 
#define OWPin   1
 
#define CounterPin   2
 
#define flashLength   50
 

Functions

OWSlave ds (OWPin)
 
void setup ()
 
void loop ()
 
void owHandler (void)
 
void incCounter (void)
 
void onewireInterrupt (void)
 
void FlashLED (void)
 

Variables

unsigned char rom [8] = {0xE1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00}
 
char scratchpad [9] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
 
volatile unsigned long counter = 0
 
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 CounterPin   2
#define countsPerMM   1;
#define flashLength   50
#define LEDPin   0
#define OWPin   1

Function Documentation

OWSlave ds ( OWPin  )
void FlashLED ( void  )
void incCounter ( 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 unsigned long counter = 0
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] = {0xE1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00}
char scratchpad[9] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}