-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.h
53 lines (40 loc) · 2.05 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// Huyang Network Config
//
// Huyang Wifi Modes
// WifiModeHotspot = creates his own wifi with the following Data
// WifiModeNetwork = connects to a existing wifi with the following credentials
// #define WiFiDefaultMode JxWifiManager::WifiModeHotspot
#define WiFiDefaultMode JxWifiManager::WifiModeNetwork
// To get this running, change the WifiSsid to whatever your wifi should be called
// this Wifi will be created by Huyang himself. Don' name this like your home Wifi.
#define WifiSsidOfHotspot "HuyangWifiControl" // <- change if needed
// set a custom passwort so not everyone can control your Huyang Droid
// The password has a minimum length of 8 symbols or "" if you dont want a password.
#define WifiPasswordHotspot "<YOUR HOTSPOT PASSWORD>" // <- change if needed
// Connect to your local Wifi. If not Accessible Huyang will create Hotspot
#define WifiSsidConnectTo "Yavin4" // <- change if needed
// The password has a minimum length of 8 symbols or "" if you dont want a password.
#define WifiPasswordConnectTo "29833170985536833475" // <- change if needed
// ONLY if the Huyang Wifi Mode is Mode WifiModeNetwork:
// Connect to your Wifi Router and check the connected Devices to get his IP Adress
// When connected via USB, the console will write down the current IP Adress every 5 seconds.
// Webserver Port default is 80. If you want a different Port, change it
#define WebServerPort 80
// System Option
// Here you can enable/disable some sub-sections of the software to match your build
// To disable an option, change: true; to false;
// the two TFT Displays as eyes
bool enableEyes = true;
// the servo inside of the head shell to move the monacle
bool enableMonacle = true;
// the two servos inside of the head
bool enableNeckMovement = true;
// the rotation servo on the bottom of the neck
bool enableHeadRotation = true;
// the four 60kg servos from the c-3po build plan
bool enableBodyMovement = true;
// the 80kg servo inside of the hip
bool enableBodyRotation = true;
// the two lights on the left fromt torso
bool enableTorsoLights = true;