Skip to content

Instantly share code, notes, and snippets.

View Shield_Garage.ino
//*****************************************************************************
#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>
//*****************************************************************************
// Pin Definitions | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
// V V V V V V V V V V V V V V V V V V V V V V V V V V V V V
//*****************************************************************************
#define PIN_LED 13
View Arduino.groovy
/**
* Arduino
*
* Copyright 2014 Daniel Ogorchock
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@ogiewon
ogiewon / VirtualtoArduinoMultiplexer.groovy
Created Jul 12, 2014
Virtual to Arduino Multiplexer
View VirtualtoArduinoMultiplexer.groovy
/**
* Virtual to Arduino Multiplexer
*
* Copyright 2014 Daniel Ogorchock
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
View VirtualContactSensor.groovy
/**
* virtualContact
*
* Copyright 2014 Daniel Ogorchock
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@ogiewon
ogiewon / VirtualGarageDoor.groovy
Last active Aug 29, 2015
Garage Door Device Type
View VirtualGarageDoor.groovy
/**
* Virtual Garage Door
*
* Copyright 2014 Daniel Ogorchock
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
View on-off-shield-example.groovy
/*
* This is an updated version that will hopefully help other who just starting out with
* the SmartThings Arduino Shield. The earlier versions of this file had not been
* updated with the newer "definition, capability, attribute, and command" section. Without
* this new section, the Device Type will only partially work (just the on/ff switch).
*
* Author: ogiewon
* Date: 2014-06-20
*
* Credit to urman the original author...
You can’t perform that action at this time.