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
/* Raw IR decoder sketch! | |
This sketch/program uses the Arduno and a PNA4602 to | |
decode IR received. This can be used to make a IR receiver | |
(by looking for a particular code) | |
or transmitter (by pulsing an IR LED at ~38KHz for the | |
durations detected | |
Code is public domain, check out www.ladyada.net and adafruit.com | |
for more tutorials! |
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 <IRremote.h> | |
int RECV_PIN = 11; | |
IRrecv irrecv(RECV_PIN); | |
IRsend irsend; | |
boolean recording = true; | |
decode_results results; |
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
// DS3231 Class is by Seeed Technology Inc(http://www.seeedstudio.com) and used | |
// in Seeeduino Stalker v2.1 for battery management(MCU power saving mode) | |
// & to generate timestamp for data logging. DateTime Class is a modified | |
// version supporting day-of-week. | |
// Original DateTime Class and its utility code is by Jean-Claude Wippler at JeeLabs | |
// http://jeelabs.net/projects/cafe/wiki/RTClib | |
// Released under MIT License http://opensource.org/licenses/mit-license.php | |
#include <Wire.h> |
NewerOlder