The Main Panel and SubPanels are found on tabs at the top of the Workshop. The Main Panel has an icon on it that looks like a robot head.
SubPanels are labeled with the letters A through G.
Main Panel #
The Main Panel is where you begin building your ChipWit’s program. It contains the Programming Grid that you use to place the initial command chips. However, as your program grows more complex, you might run out of space or need separate sections of logic.
SubPanels #
The SubPanels act as additional programming spaces that allow you to organize and expand your ChipWit’s brain. Think of them as extra blank pages or branches of your program where you can develop more intricate sequences of commands without cluttering the Main Panel.
Why SubPanels are Useful #
- Extra Programming Space:
- When the Main Panel fills up with chips, SubPanels give you more room to continue building your ChipWit’s logic. You can jump between these panels to manage different parts of your ChipWit’s behavior.
- Organized Logic:
- SubPanels help you break down your program into smaller, more manageable chunks. For example, you might use one SubPanel for movement logic, another for sensor-based decisions, and so on.
- Efficient Program Flow:
- You can set up jumps between the Main Panel and Subpanels using the special SubPanel chip command, allowing the ChipWit to move between different parts of its program based on conditions or loops. This makes it easier to create modular, reusable code blocks.
How to Utilize SubPanels #
- Switching Between Panels: You can move between the Main Panel and SubPanels by using jump commands (SubPanel Operator).
- Modularize Your Code: Use the Main Panel for the core of your program and reserve the SubPanels for complex or repetitive tasks like decision-making, memory handling, or sensor responses.
By using the SubPanels, you gain the ability to build more complex, layered behaviors without overcrowding the main programming grid. It helps keep your program organized and allows for more flexibility as your ChipWit takes on tougher challenges.
SubPanel Arguments #
- Switching Between Panels: Select the desired empty socket in the Workshop and then select SubPanel found in the Control Chips section on the radial Workshop menu. Then select an argument that corresponds with letter found on the desired SubPanel tab.
By using the SubPanels, you gain the ability to build more complex, layered behaviors without overcrowding the main programming grid. It helps keep your program organized
Leave a Reply