Forum Replies Created
-
AuthorPosts
-
April 13, 2018 at 5:54 pm in reply to: Running: Esp8266 Open Sprinkler on OS Bee 2.0 hardware? #49560
darren.c.withersParticipantHi 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
////////////////////////////////////////////////////////////////////////////////////////////////
#endifMarch 30, 2018 at 12:25 am in reply to: Running: Esp8266 Open Sprinkler on OS Bee 2.0 hardware? #49442
darren.c.withersParticipantHi, 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
DarrenFound my answer by further reading the Pins.h file.
-
AuthorPosts