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
#!/bin/bash -e | |
sudo apt-get update | |
sudo apt-get -y install dirmngr | |
# Add the package for FlightAware | |
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.6.3_all.deb | |
sudo dpkg -i piaware-repository_3.6.3_all.deb | |
# Add the server for FlightRadar24 |
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 <SoftwareSerial.h> | |
#include <SmartThings.h> | |
#define PIN_THING_RX 3 | |
#define PIN_THING_TX 2 | |
SmartThingsCallout_t messageCallout; // call out function forward decalaration | |
SmartThings smartthing(PIN_THING_RX, PIN_THING_TX, messageCallout); // constructor | |
bool isDebugEnabled; // enable or disable debug in this example | |
int stateLED; // state to track last set value of LED |
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
/** | |
* Blank Slate 9 | |
* | |
* Author: tcnerison@gmail.com | |
* Date: 2013-08-29 | |
*/ | |
// for the UI | |
metadata { | |
simulator { | |
// TODO: define status and reply messages here |