|
sketchbook
|
#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 |
| #define CounterPin 2 |
| #define countsPerMM 1; |
| #define flashLength 50 |
| #define LEDPin 0 |
| #define OWPin 1 |
| OWSlave ds | ( | OWPin | ) |
| void FlashLED | ( | void | ) |
| void incCounter | ( | void | ) |
| void loop | ( | void | ) |
OneWirePJON device status update function.
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.
| 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} |
1.8.6