Skip to content
Snippets Groups Projects
PotentiometerBehaviours.h 659 B
Newer Older
#ifndef POTENTIOMETER_BEHAVIOUR_h
#define POTENTIOMETER_BEHAVIOUR_h
#include "Arduino.h"
#include "Behaviours.h"
Joe Revans's avatar
Joe Revans committed
#include <VizBlocks.h>
Matthew's avatar
Matthew committed
/**
 * [PotentiometerUpdated description]
 * @param node [description]
 * @param name [description]
 */
Matthew's avatar
Matthew committed
class PotentiometerUpdated : public Behaviour
{
Matthew's avatar
Matthew committed
	/**
Matthew's avatar
Matthew committed
	 * Class that defines a behaviour that publishes a
	 * ButtonPressed message to the input topic of the
	 * MQQT broker
	 */
	VizBlocks* _node;
	PotentiometerUpdated(VizBlocks* node, String name = "PotentiometerUpdated");
Matthew's avatar
Matthew committed
	/**
	   @brief What does this do?
	 */
Matthew's avatar
Matthew committed
	char* args();
Matthew's avatar
Matthew committed
	/**
	   @brief What does this do?
	 */
Matthew's avatar
Matthew committed
	String start(String args);