Skip to content

Instantly share code, notes, and snippets.

@GladysAssistant
GladysAssistant / accelero_433.ino
Created June 15, 2015 19:51
Create your own connected object tutorial - code
#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 */