<filename>Arduino/MenloDweetBlink/DweetBlinkAppArduino.cpp

/*
 * Copyright (C) 2015 Menlo Park Innovation LLC
 *
 * This is licensed software, all rights as to the software
 * is reserved by Menlo Park Innovation LLC.
 *
 * A license included with the distribution provides certain limited
 * rights to a given distribution of the work.
 *
 * This distribution includes a copy of the license agreement and must be
 * provided along with any further distribution or copy thereof.
 *
 * If this license is missing, or you wish to license under different
 * terms please contact:
 *
 * menloparkinnovation.com
 * <EMAIL>
 */

/*
 * Date: 05/07/2015
 * File: DweetBlinkAppArduino.cpp
 *
 * Arduino implementation of the Blink Application class.
 *
 */

//
// MenloFramework
//
// Note: All these includes are required together due
// to Arduino #include behavior.
//
//
// MenloPlatform support
//
#include <MenloPlatform.h>
#include <MenloObject.h>
#include <MenloDispatchObject.h>
#include <MenloMemoryMonitor.h>
#include <MenloUtility.h>
#include <MenloNMEA0183Stream.h>
#include <MenloDebug.h>
#include <MenloConfigStore.h>
#include <MenloPower.h>
#include <MenloTimer.h>

#include <DweetBlinkApp.h>
#include "DweetBlinkAppArduino.h"

void
DweetBlinkAppArduino::SetLightState(bool state)
{
    digitalWrite(m_config.pinNumber, state);
}
