Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
/* | |
Hardware: | |
Wiznet Ethernet module | |
PanStamp V2 | |
Forum thread regarding compile problems: http://www.panstamp.org/forum/showthread.php?tid=3073&page=6 | |
Compiled with Arduino IDE v1.5.8 | |
Since both panstamp and Ethernet libary use pin D10 for slave select, some of the Ethernet libraries need to be modified to use a different pin. |
This file contains hidden or 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
/* | |
Testing MoteinoMega with Weather station and SD card | |
Want to see how sketch works with no ethernet code | |
Does it still have long delays while syncing the frequency hopping | |
MoteinoMega and SD Card breakout borad from ebay will work with 5v or 3.3 volts - via selector switch | |
Forum: http://bit.ly/14thCKB |
This file contains hidden or 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
// #define USE_SD_CARD // comment this out if not using SD card | |
#include <SPI.h> // DavisRFM69.h needs this http://arduino.cc/en/Reference/SPI | |
#include <DavisRFM69.h> // http://github.com/dekay/DavisRFM69 | |
#include <SD.h> // Micro SD Card. http://arduino.cc/en/Reference/SD | |
// Reduce number of bogus compiler warnings, see http://bit.ly/1pU6XMe | |
#undef PROGMEM | |
#define PROGMEM __attribute__(( section(".progmem.data") )) |