Changed Pin Layout
Servos usable, Display still no response
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
// Initialize Objects
|
// Initialize Objects
|
||||||
BotNetwork botNetwork("PfLANze", "isteinbisschenengandiehals", "JackBot-AP", "robot-control");
|
BotNetwork botNetwork("PfLANze", "isteinbisschenengandiehals", "JackBot-AP", "robot-control");
|
||||||
MotionController motion;
|
MotionController motion;
|
||||||
DisplayManager display(8, 20, 21); // TFT_CS, TFT_DC, TFT_RST
|
DisplayManager display(5, 3, 2); // TFT_CS, TFT_DC, TFT_RST
|
||||||
|
|
||||||
static QueueHandle_t motionQueue = nullptr;
|
static QueueHandle_t motionQueue = nullptr;
|
||||||
static QueueHandle_t configQueue = nullptr;
|
static QueueHandle_t configQueue = nullptr;
|
||||||
@@ -57,7 +57,7 @@ static void queueDisplayText(const char* text, uint16_t color) {
|
|||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
Wire.begin();
|
Wire.begin(6,7);
|
||||||
Wire.setClock(400000);
|
Wire.setClock(400000);
|
||||||
|
|
||||||
motion.begin();
|
motion.begin();
|
||||||
|
|||||||
Reference in New Issue
Block a user