This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#include <Adafruit_Sensor.h> | |
#include <Adafruit_ADXL345_U.h> | |
#include <RCSwitch.h> | |
#include <JeeLib.h> | |
RCSwitch mySwitch = RCSwitch(); | |
ISR(WDT_vect) { Sleepy::watchdogEvent(); } | |
int sens = 2; | |
/* Assign a unique ID to this sensor at the same time */ |