Begin work on client side command processor & wheel controller

This commit is contained in:
Starbeamrainbowlabs 2016-11-20 21:54:09 +00:00
parent e961c558ac
commit 7f8cc9420d
5 changed files with 40 additions and 2 deletions

View file

@ -142,3 +142,9 @@ bool PixelBot::Tick()
return true;
}
bool PixelBot:processCommand(String command)
{
return false;
}

View file

@ -58,5 +58,7 @@ private:
// The TCP client to use as the PixelHub server transport connection.
WiFiClient tcpClient = WiFiClient();
bool processCommand(String command);
};

View file

@ -0,0 +1,12 @@
#include "PixelBotController.h"
PixelBotController::PixelBotController()
{
}
PixelBotController::~PixelBotController()
{
}

View file

@ -0,0 +1,18 @@
#pragma once
/// <summary>
/// Connects to a PixelHub server, receives commands, and acts upon them.
/// </summmary>
class PixelBotController
{
public:
PixelBotController();
~PixelBotController();
private:
}

View file

@ -8,8 +8,8 @@
#include "PixelBot.h"
char ssid[] = "ssid";
char password[] = "password";
char ssid[] = "ZimWeaver";
char password[] = "jungl3OfC0nfu$*on";
PixelBot pixelBot;