Skip to content
Snippets Groups Projects
Commit 8c4b9c9f authored by Matthew's avatar Matthew
Browse files

add include headers to .cpp files

parent d1725b49
No related branches found
No related tags found
3 merge requests!4Joe merge,!3Doxygen Documentation,!2Docs
#include "LEDBehaviours.h"
NumLEDs::NumLEDs(Adafruit_NeoPixel* strip, String name = "NumLEDs", uint32_t color=0xFFFFFFFF) :
Behaviour(name), _strip(strip), _color(color)
{ }
......
#include "NameDictionary.h"
NameDictionary::NameDictionary()
{
_arraySize = sizeof(data) / sizeof(keyValuePair);
......
#include "Potentiometer.h"
Potentiometer::Potentiometer(int pin, int id = 99) : _pin(pin), _id(id)
{
pinMode(pin, INPUT);
......
#include "PotentiometerUpdated.h"
PotentiometerUpdated::PotentiometerUpdated(VizBlocks* node, String name = "PotentiometerUpdated") :
Behaviour(name), _node(node)
......
#include "RotaryEncoder.h"
RotaryEncoder::RotaryEncoder(int pinA, int pinB, int id = 99) : _pinA(pinA), _pinB(pinB), _id(id)
{
pinMode(_pinA, INPUT_PULLUP);
......
#include "RotaryEncoderUpdated.h"
RotaryEncoderUpdated::RotaryEncoderUpdated(VizBlocks* node, String name = "RotaryEncoderUpdated") :
Behaviour(name), _node(node)
{ }
......
#include "ServoBehaviours.h"
ServoRotateReturn(Servo servo, String name="ServoRotateReturn", int delay=30, int pause=500, int start_angle = 2, int end_angle=178 ) :
Behaviour(name), _servo(servo),_delay(delay), _pause(pause), _start_angle(start_angle), _end_angle(end_angle)
{}
......
#include "VizBlocks.h"
VizBlocks(char* id, char* ssid="VizBlocksNet", char* wifi_pass="VizBlocksAP",
char* server="172.20.10.8",int port=1883) : _id(id), _server(server), _port(port), _ssid(ssid), _wifi_pass(wifi_pass)
{};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment