Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Running: Esp8266 Open Sprinkler on OS Bee 2.0 hardware? #49560

    darren.c.withers
    Participant

    Hi Paolo,

    I managed to get your code to compile however I need a bit of help on the Pins.h for non-latching valves as I’m using on OSBee 2.0 hardware.

    What options do I need to have set below ? I tried removing the // from the //#define OSBEE_NOLATCH line the code fails to compile and complains

    OpenSprinkler.cpp:1207: error: ‘options’ was not declared in this scope

    if (options[OPTION_SOT].ival != OSB_SOT_LATCH)

    #ifdef OSBEE
    ///////////////////////defines for OS Bee////////////////////////////////////////////////////
    #define PIN_COM 0x23 //pin for valves return line
    #define MAX_NUMBER_ZONES 3 //num.of zones_______________________needed
    #define st_pins OpenSprinkler::station_pins //pins used for attached Zones
    #define PIN_BST_PWR 14 //pin boost power____________________needed //for OS Bee 2.0
    #define PIN_BST_EN 0x24 //bin boost enable___________________needed
    #define OSB_SOT_LATCH 0 //value of option for non latching valves___for OS Bee 2.0
    #if OSBEE==1
    #define PIN_COM 02 //pin for valves return line
    #define PIN_BST_PWR 15 //pin boost power____________________needed //for OS Bee 2.0
    #define PIN_BST_EN 16 //bin boost enable___________________needed
    //#define OSBEE_NOLATCH
    #endif
    ////////////////////////////////////////////////////////////////////////////////////////////////
    #endif

    in reply to: Running: Esp8266 Open Sprinkler on OS Bee 2.0 hardware? #49442

    darren.c.withers
    Participant

    Hi, just wondering what board selection to use in your Pins.h file for a stock standard OSBee ? Trying to compile your code to run on this while waiting for the unified OS to be extended to this model.

    Thanks
    Darren

    Found my answer by further reading the Pins.h file.

Viewing 2 posts - 1 through 2 (of 2 total)