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

Macros

#define SoftwareVer   1.0
 
#define SensorCount   3
 
#define LEDPin   13
 
#define OWPin   2
 
#define flashPause   100
 
#define flashLength   50
 

Functions

OneWireSlave ds (OWPin)
 
void setup ()
 
void loop ()
 
void process ()
 
void pack (float val)
 
void FlashLED_blocking (void)
 
void debugPrint (int time)
 
long readVcc ()
 

Variables

unsigned char rom [8] = {DS2415, 0xE2, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00}
 
char rtccountr_in [5] = { 0x00, 0x00, 0x00, 0x00, 0x00}
 
char rtccountr_out [5] = {B11110000, 0x01, 0x23, 0xCD, 0xEF}
 

Macro Definition Documentation

#define flashLength   50
#define flashPause   100
#define LEDPin   13
#define OWPin   2
#define SensorCount   3
#define SoftwareVer   1.0

Function Documentation

void debugPrint ( int  time)
OneWireSlave ds ( OWPin  )
void FlashLED_blocking ( void  )
void loop ( void  )

OneWirePJON device status update function.

Returns
(void)
void pack ( float  val)
void process ( )
long readVcc ( )
void setup ( void  )

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

Variable Documentation

unsigned char rom[8] = {DS2415, 0xE2, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00}
char rtccountr_in[5] = { 0x00, 0x00, 0x00, 0x00, 0x00}
char rtccountr_out[5] = {B11110000, 0x01, 0x23, 0xCD, 0xEF}