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
| // Libraries | |
| #include <Adafruit_CC3000.h> | |
| #include <ccspi.h> | |
| #include <SPI.h> | |
| #include <avr/wdt.h> | |
| // Define CC3000 chip pins | |
| #define ADAFRUIT_CC3000_IRQ 3 | |
| #define ADAFRUIT_CC3000_VBAT 5 |
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
| /*************************************************** | |
| This is a sketch to use the CC3000 WiFi chip & Xively | |
| Written by Marco Schwartz for Open Home Automation | |
| Modified code for read temperature from LM35 | |
| ****************************************************/ | |
| // Libraries |