#include <OneWireSlave.h>
#include <CapacitiveSensor.h>
#include <TimerOne.h>
|
unsigned char | rom [8] = {DS2415, 0xE2, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00} |
|
char | rtccountr_in [5] = { 0x00, 0x00, 0x00, 0x00, 0x00} |
|
char | rtccountr_out [5] = {B11110000, 0x01, 0x23, 0xCD, 0xEF} |
|
const byte | ledCharSet [17] |
|
CapacitiveSensor | cs_9_2 = CapacitiveSensor(9,2) |
|
volatile unsigned long | ctr1 = 0 |
|
volatile unsigned long | ctr2 = 0 |
|
volatile unsigned long | ctr3 = 0 |
|
unsigned long | d |
|
unsigned long | t |
|
void debugPrint |
( |
int |
time | ) |
|
OneWireSlave ds |
( |
OWPin |
| ) |
|
void FlashLED_blocking |
( |
void |
| ) |
|
OneWirePJON device status update function.
- Returns
- (void)
Arduino IDE: put your setup code here, to run once.
Custom ISR Timer Routine
(will reduce 1wire stability and performance - but by how much - usable for RTC relais?)
CapacitiveSensor cs_9_2 = CapacitiveSensor(9,2) |
volatile unsigned long ctr1 = 0 |
volatile unsigned long ctr2 = 0 |
volatile unsigned long ctr3 = 0 |
const byte ledCharSet[17] |
Initial value:= {
B00111111,B00000110,B01011011,B01001111,B01100110,B01101101,B01111101,B00000111,B01111111,B01101111,
B11110111,B11111111,B10111001,B10111111,B11111001,B11110001,
B00000000
}
unsigned char rom[8] = {DS2415, 0xE2, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00} |
char rtccountr_in[5] = { 0x00, 0x00, 0x00, 0x00, 0x00} |
char rtccountr_out[5] = {B11110000, 0x01, 0x23, 0xCD, 0xEF} |