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
/*************************************************** | |
This is a library example for the MLX90614 Temp Sensor | |
Designed specifically to work with the MLX90614 sensors in the | |
adafruit shop | |
These sensors use I2C to communicate, 2 pins are required to | |
interface | |
Adafruit invests time and resources providing this open source code, | |
please support Adafruit and open-source hardware by purchasing | |
products from Adafruit! | |
Written by Limor Fried/Ladyada for Adafruit Industries. |
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
// Load up the libraries | |
#include <SPI.h> | |
#include <nRF24L01.h> | |
#include <RF24.h> | |
#include <printf.h> | |
// Set the pins up | |
#define CE_PIN 7 | |
#define CSN_PIN 8 |
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
// IMPORTANT: Adafruit_TFTLCD LIBRARY MUST BE SPECIFICALLY | |
// CONFIGURED FOR EITHER THE TFT SHIELD OR THE BREAKOUT BOARD. | |
// SEE RELEVANT COMMENTS IN Adafruit_TFTLCD.h FOR SETUP. | |
#include <Adafruit_GFX.h> // Core graphics library | |
#include <Adafruit_TFTLCD.h> // Hardware-specific library | |
// The control pins for the LCD can be assigned to any digital or | |
// analog pins...but we'll use the analog pins as this allows us to | |
// double up the pins with the touch screen (see the TFT paint example). |