Component: Sheep Pen (Scenarios)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Scenarios |
Contents
Sheep Pen component
A simple sheep pen simulation with two gates and two sensors. Allows for simple logical control to try and move all the sheep from one pen to another.
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
There is a detailed walk through of the scenario detailed at the link below to go with this component.
Downloadable macro reference
![]() |
ReadSensor |
Checks to see if an object is on the Sensor. Returns 0 if nothing is on the Sensor, Returns 1 if an object is on the Sensor. | |
![]() |
Return |
![]() |
ControlGateB |
Allows gate B to be opened and closed. | |
![]() |
State |
0 = Closed, 1 = Open | |
![]() |
Return |
![]() |
ControlGateA |
Allows gate A to be opened and closed. | |
![]() |
State |
0 = Closed, 1 = Open | |
![]() |
Return |