Syntax for second relay box feed mode programming
Posted: Sat Mar 24, 2012 4:33 pm
OK - so I'm sure this is simple, but I can't seem to figure out for the life of me how to attribute ports on my second relay box with some of the auto features (ie feed mode, water change mode, etc)..
Help!! I know its gotta be syntax...
Here's what I "want" to do:
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit | Port3Bit | Port7Bit;
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit;
ReefAngel.FeedingModePorts = Box1_Port3Bit | Box1_Port7Bit;
ReefAngel.WaterChangePorts = Box1_Port3Bit | Box1_Port7Bit | Port8Bit;
But the arduino programmer is kicking the Box1_port syntax out like its invalid...
Help!! I know its gotta be syntax...
Here's what I "want" to do:
ReefAngel.OverheatShutoffPorts = Port1Bit | Port2Bit | Port3Bit | Port7Bit;
ReefAngel.LightsOnPorts = Port1Bit | Port2Bit | Port3Bit;
ReefAngel.FeedingModePorts = Box1_Port3Bit | Box1_Port7Bit;
ReefAngel.WaterChangePorts = Box1_Port3Bit | Box1_Port7Bit | Port8Bit;
But the arduino programmer is kicking the Box1_port syntax out like its invalid...