This website works better with JavaScript.
Home
Explore
Help
Sign In
SBRL-Archive
/
PixelHub
Archived
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
0
Activity
Browse Source
Begin work on client side command processor & wheel controller
master
Starbeamrainbowlabs
4 years ago
parent
e961c558ac
commit
7f8cc9420d
5 changed files
with
40 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
PixelHub-Client/PixelBot.cpp
+2
-0
PixelHub-Client/PixelBot.h
+12
-0
PixelHub-Client/PixelBotController.cpp
+18
-0
PixelHub-Client/PixelBotController.h
+2
-2
PixelHub-Client/PixelHub-Client.ino
+ 6
- 0
PixelHub-Client/PixelBot.cpp
View File
@ -142,3 +142,9 @@ bool PixelBot::Tick()
return
true
;
}
bool
PixelBot
:
processCommand
(
String
command
)
{
return
false
;
}
+ 2
- 0
PixelHub-Client/PixelBot.h
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
)
;
}
;
+ 12
- 0
PixelHub-Client/PixelBotController.cpp
View File
@ -0,0 +1,12 @@
#
include
"PixelBotController.h"
PixelBotController
:
:
PixelBotController
(
)
{
}
PixelBotController
:
:
~
PixelBotController
(
)
{
}
+ 18
- 0
PixelHub-Client/PixelBotController.h
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
:
}
+ 2
- 2
PixelHub-Client/PixelHub-Client.ino
View File
@ -8,8 +8,8 @@
#
include
"PixelBot.h"
char
ssid
[
]
=
"
ssid
"
;
char
password
[
]
=
"
password
"
;
char
ssid
[
]
=
"
ZimWeaver
"
;
char
password
[
]
=
"
jungl3OfC0nfu$*on
"
;
PixelBot
pixelBot
;