Skip to content
Snippets Groups Projects
RotaryEncoderBehaviours.hpp 475 B
Newer Older
#ifndef ROTARYENCODER_BEHAVIOUR_h
#define ROTARYENCODER_BEHAVIOUR_h
#include "Arduino.h"
#include "Behaviours.h"
Joe Revans's avatar
Joe Revans committed
#include <VizBlocks.h>
Matthew's avatar
Matthew committed
class RotaryEncoderUpdated : public Behaviour
{
	/*
	 * Class that defines a behaviour that publishes a
	 * ButtonPressed message to the input topic of the
	 * MQQT broker
	 */
	VizBlocks* _node;
Matthew's avatar
Matthew committed
	RotaryEncoderUpdated(VizBlocks* node, String name = "RotaryEncoderUpdated")
Matthew's avatar
Matthew committed
	char* args();
Matthew's avatar
Matthew committed
	String start(String args);