Forum Replies Created

Viewing 7 posts - 26 through 32 (of 32 total)
  • Author
    Posts
  • in reply to: ESP32 port of 2.1.9 firmware #75842

    v1pr
    Participant

    All is working on your side? 🙂

    in reply to: ESP32 port of 2.1.9 firmware #75836

    v1pr
    Participant

    Sorry, I really don’t know how did that happen, but somehow I’ve left some stuff fro ESP8266… corrected know, only 4 files changes (OpenSprinkler.cpp, opensprinkler_server.cpp and utils.cpp – see github).

    in reply to: ESP32 port of 2.1.9 firmware #75815

    v1pr
    Participant

    Shu, there was some typo. Please “refresh” – at least OpenSprinkler.cpp – from my git and try again.

    in reply to: ESP32 port of 2.1.9 firmware #75809

    v1pr
    Participant

    Than you should, since this one is configured for my board, which uses shift-register as an output. You can compare the old esp32.h with the new one and comment out/unset the unneeded things and change the pin numbers. Don’t forget to change the LCD type too, since it’s set for SH1106, not the “default” SSD1306.

    in reply to: ESP32 port of 2.1.9 firmware #75806

    v1pr
    Participant

    did you revise/set the params/pins in esp32.h? What setup are you running? GPIO, PCF or ShiftReg valves? LCD?

    in reply to: ESP32 port of 2.1.9 firmware #75804

    v1pr
    Participant

    Sorry about that, considerd too straight forward. Simply add it to public section, just like in es8266.h:

    public:
    bool dataAvailable();
    size_t readBytes(char *buffer, size_t length);
    size_t readBytesUntil(char terminator, char *buffer, size_t length);
    void print(const char *data);
    void print(const __FlashStringHelper *data);
    int peek();
    void setTimeout(int timeout);
    void flush();
    void stop();
    };

    in reply to: ESP32 port of 2.1.9 firmware #75755

    v1pr
    Participant

    Hi,

    unfortunatelly porting is not that easy, since the ethernet library does not exists for ESP32. Anyway, I started porting to ESP32 – based on Ja.Carer’s work. Code compiles, but did not have the time to test it (yet) on my custom board; so any volunteers for testing are welcomed 🙂

    Code is here: https://github.com/V1pr/OpenSprinkler-Firmware-ESP32

    Please read the readme! Moreover, I’m not sure, if the bug in the Arduino-ESP32 library has been updated in platrofmio (bug with the F() macro calling).

Viewing 7 posts - 26 through 32 (of 32 total)