Skip to content

Instantly share code, notes, and snippets.

View mager's full-sized avatar
🏠
Working from home

Mager mager

🏠
Working from home
View GitHub Profile
@aurman
aurman / Shield_on_off_hello.ino
Last active September 20, 2016 23:37
Arduino On Off Hello
View Shield_on_off_hello.ino
//*****************************************************************************
/// @file
/// @brief
/// Arduino SmartThings Shield LED Example
//*****************************************************************************
#include <SoftwareSerial.h> //TODO need to set due to some weird wire language linker, should we absorb this whole library into smartthings
#include <SmartThings.h>
#define PIN_THING_RX 3
@aurman
aurman / on-off-shield-example.groovy
Last active May 27, 2018 07:13
Device Handler Code for On/Off Shield (example)
View on-off-shield-example.groovy
/*
* On/Off Shield (example)
*
* Author: urman
* Date: 2013-03-14
* Revision: 2014-07-10
* Capabilities:
* Switch
* Custom Attributes:
* greeting