I wrote a program in blockly to plant seeds in a seedling tray. It worked fine until I tried adding code to the CO1 output port on the control box to drive a relay. The relay is used to operate a solenoid valve on an air line.
Now the code bounces back and forth between two function calls and doesn’t finish either function. It may be related to the port issue or due to the various wait() calls. None of the wait or sleep calls seem to match with the timing specified.