P11_TCPClock.ino "hour" not declared in this scope

Forums The NanoESP & Pretzel Board Forum P11_TCPClock.ino "hour" not declared in this scope

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3118
    Sabet
    Participant

    Moin,
    wenn ich versuche das Programm P11_TCPClock.ino zu komplilieren bekomme ich die Fehlermeldung “hour” was not declared in this scope. Zeile 47. Das hat mit dem Einbinden der Bibliothek im C Code zu tun. Ich hab die Datei Time.h in den libraries Ordner von P11_TCPClock.ino kopiert. funktioniert nur leider nicht.. Brauch ich eine andere Datei oder einen anderen Ort?
    schöne Grüße,

    • This topic was modified 4 years, 2 months ago by Sabet.
    #3121
    Sabet
    Participant

    Fehler gefunden.
    In der Hauptdatei muss die Einbindung der Bibliothek mit #include “Time.h” erfolgen. (Nicht #include <Time.h>).
    Das war’s schon :)

    #3122
    Sabet
    Participant

    ok, was ich nicht raffe ist warum es der 01.01.1970 sein soll. sonst alles klar^^

    #3148
    prisma01
    Participant

    Moin!
    Wo find ich denn bitte das Wiring zu P11_TCPClock.ino?

    lg Stephan

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.