#'WiFiClient' does not name a type; did you mean 'TTGOClient'?

5 messages · Page 1 of 1 (latest)

left lichenBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

languid pivot
#

main.cpp

#include <Arduino.h>
#include <WiFi.h>
#include <Wire.h>

#include <RadioLib.h>
#include <client.h>
#include <display.h>
#include <periph.h>

WiFiClient client;
display _display;
//TTGOClient pcsgClient(&client);

void setup() {
    Serial.begin(115200);
    _display.startDisplay();

    WiFi.begin("VDSL3","4134413441344134");
    while (WiFi.status() != WL_CONNECTED) {
        delay(500);
        Serial.println("Connecting to WiFi..");
    }
    Serial.println("Connected to the WiFi network");
    _display.printDisplay(WiFi.localIP().toString());
}

void loop() {
    // put your main code here, to run repeatedly:
    delay(1000);
}```
#

I commented TTGOClient to I can just read all the errors correctly

left lichenBOT
#

@languid pivot

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

languid pivot
#

!close